# Staging and Production URLs

The domains used in sample requests below may differ from those in your environment. Choose the appropriate domain from the table below based on your testing or production requirements.

{% hint style="warning" %}
**NO** certificate pinning or dependencies should be implemented on the TLS certificates for Corppass domains. **Corppass reserves the right to update or rotate its TLS certificates without prior notice to RPs.**
{% endhint %}

| Endpoint                    | Access Mechanism                | Staging URL                                                       | Production URL                                                |
| --------------------------- | ------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------- |
| OpenID Discovery Endpoint   | Public TLS                      | `https://stg-id.corppass.gov.sg/.well-known/openid-configuration` | `https://id.corppass.gov.sg/.well-known/openid-configuration` |
| JWKS Endpoint               | Public TLS                      | `https://stg-id.corppass.gov.sg/.well-known/keys`                 | `https://id.corppass.gov.sg/.well-known/keys`                 |
| Authorization Endpoint      | Public TLS                      | `https://stg-id.corppass.gov.sg/mga/sps/oauth/oauth20/authorize`  | `https://id.corppass.gov.sg/mga/sps/oauth/oauth20/authorize`  |
| Token Endpoint              | Public TLS w/ Client Assertions | `https://stg-id.corppass.gov.sg/mga/sps/oauth/oauth20/token`      | `https://id.corppass.gov.sg/mga/sps/oauth/oauth20/token`      |
| Authorization Info endpoint | Public TLS w/ Access Token      | `https://stg-id.corppass.gov.sg/authorization-info`               | `https://id.corppass.gov.sg/authorization-info`               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.corppass.gov.sg/technical-specifications/corppass-authorization-api-legacy/staging-and-production-urls.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
