Request registration
Each application and each of its deployments is registered after review. Request access to start.
- A redirect address must match the registered address exactly and must use HTTPS.
- The one exception is a native client’s loopback address, which uses HTTP and may vary only in its port.
Read the discovery document
The issuer is https://id.federatedtrust.com. It publishes its endpoints and supported features at /.well-known/openid-configuration and /.well-known/oauth-authorization-server.
- Use any standards-compliant OpenID Connect library. No Federated Trust package is published to npm or JSR.
Validate the tokens
ID tokens are signed with ES256. Signing keys for access tokens and ID tokens are published at /.well-known/jwks.json.
- Check the issuer, the audience and the expiry of each token.
- Access tokens are short-lived. Most applications use 15 minutes.
- A UserInfo endpoint is served.
Refresh tokens and sign out
For most applications, a refresh token is replaced each time it is used. Presenting a replaced one revokes the whole chain of refresh tokens it belongs to.
- End a session through the end-session endpoint.
- Revoking a refresh token revokes its chain of refresh tokens. Access tokens already issued stay valid until they expire.
Sign in command-line clients
A command-line client uses the device authorization grant. It shows a short code, and the person approves it in a browser.
- Most command-line clients must use DPoP with ES256, which binds each token to a key the client holds.
- The fedtrustctl client does this and connects a coding agent to an application’s MCP server.