Sign in with ATW
ATW can act as an OpenID Connect identity provider so your users sign in with their ATW account (the same Cognito-backed identity used for ATW One).
Discovery
Fetch OpenID Provider metadata from:
https://sso.atw.net/.well-known/openid-configuration
Local development:
http://sso.localhost:3007/.well-known/openid-configuration
Authorization code + PKCE
- Register an OAuth application in the ATW dashboard (ATW SSO → create app) and copy
client_id(andclient_secretfor confidential clients). - Redirect the user to the
authorization_endpointwith:response_type=codeclient_idredirect_uri(must match a registered URI)scope=openid profile emailstate(CSRF)code_challenge/code_challenge_method=S256
- Exchange the
codeat thetoken_endpointwithgrant_type=authorization_code,code_verifier, and client credentials as required. - Call
userinfo_endpointwithAuthorization: Bearer {access_token}.
Claims
| Claim | Meaning |
|-------|---------|
| sub | Stable ATW principal id |
| email | Verified email |
| name | Display name |
Scopes
openid, profile, and email are supported in the MVP.
Notes
- Users must already have an ATW session (or will be prompted to sign in).
- Your organization must have ATW SSO enabled in product settings.
- See engineer notes in
docs/ATW_SSO_IDP.mdfor issuer hosts, JWKS, and admin APIs.
