> For the complete documentation index, see [llms.txt](https://docs.developer.singpass.gov.sg/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.developer.singpass.gov.sg/docs/technical-specifications.md).

# Technical Specifications

- [Changelog](https://docs.developer.singpass.gov.sg/docs/technical-specifications/changelog.md)
- [Integration Guide](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide.md)
- [1. The Authorization Request](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide/1.-authorization-request.md)
- [2. Handling the Redirect](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide/2.-handling-the-redirect.md)
- [3. The Token Request](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide/3.-token-exchange.md)
- [4. Parsing the ID Token](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide/4.-parsing-the-id-token.md)
- [5. The Userinfo Request](https://docs.developer.singpass.gov.sg/docs/technical-specifications/integration-guide/5.-requesting-for-userinfo.md)
- [Technical Concepts](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts.md)
- [JSON Web Key Sets (JWKS)](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts/json-web-key-sets-jwks.md)
- [Generation Of Client Assertion](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts/generation-of-client-assertion.md)
- [Proof Key for Code Exchange (PKCE)](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts/proof-key-for-code-exchange-pkce.md)
- [Demonstrating Proof of Possession (DPoP)](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts/demonstrating-proof-of-possession-dpop.md)
- [OpenID Provider Configuration](https://docs.developer.singpass.gov.sg/docs/technical-specifications/technical-concepts/openid-connect-discovery.md)
- [Migration Guides](https://docs.developer.singpass.gov.sg/docs/technical-specifications/migration-guides.md)
- [Login / Myinfo (v5) apps](https://docs.developer.singpass.gov.sg/docs/technical-specifications/migration-guides/login-myinfo-v5-apps.md)
- [Myinfo (v3) apps](https://docs.developer.singpass.gov.sg/docs/technical-specifications/migration-guides/myinfo-v3-apps.md)
- [Myinfo (v4) apps](https://docs.developer.singpass.gov.sg/docs/technical-specifications/migration-guides/myinfo-v4-apps.md)
- [(Legacy) Pre-FAPI 2.0 API Specifications](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api.md)
- [Overview of Singpass Flow](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/overview-of-singpass-flow.md)
- [1. Authorization Endpoint](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/1.-authorization-endpoint.md)
- [Redirection on success](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/1.-authorization-endpoint/redirection-on-success.md)
- [For Mobile Developers](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/1.-authorization-endpoint/for-mobile-developers.md)
- [2. Token Endpoint](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/2.-token-endpoint.md)
- [Authorization Code Grant](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/2.-token-endpoint/authorization-code-grant.md)
- [Client JWK Requirements](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/2.-token-endpoint/client-jwk-requirements.md)
- [3. Userinfo Endpoint](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/3.-userinfo-endpoint.md)
- [Requesting Userinfo](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/3.-userinfo-endpoint/requesting-userinfo.md)
- [Validating the payload](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/3.-userinfo-endpoint/validating-the-payload.md)
- [.well-known Endpoints](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/.well-known-endpoints.md)
- [OpenID Discovery Endpoint](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/.well-known-endpoints/openid-discovery-endpoint.md)
- [JWKS Endpoint](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/.well-known-endpoints/jwks-endpoint.md)
- [Error Response](https://docs.developer.singpass.gov.sg/docs/technical-specifications/singpass-authentication-api/error-response.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.developer.singpass.gov.sg/docs/technical-specifications.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
