Developer reference for Wynter AI SSO (OIDC)
Technical guide to Wynter.ai OpenID Connect endpoints, PKCE flow, silent prompt=none checks, and shared widgets/v1.js web components.
Every web tool in the Wynter suite connects to wynter.ai through standard OpenID Connect (OIDC) with S256 PKCE plus lightweight shared web components loaded from https://wynter.ai/widgets/v1.js.

One shared OpenID Connect issuer handles discovery, PKCE token exchange, silent checks, and unified navigation.
OpenID Connect endpoints
Inspect https://wynter.ai/.well-known/openid-configuration for live discovery metadata:
| Endpoint | Path | Notes |
|---|---|---|
| Discovery | /.well-known/openid-configuration |
Auto-configures OIDC clients with issuer, scopes, and JWKS URL |
| Authorize | /authorize |
Requires Authorization Code + S256 PKCE; supports prompt=none silent verification |
| Token | /oauth/token |
Exchanges authorization code + PKCE code_verifier for ID, access, and refresh tokens |
| UserInfo | /oauth/userinfo |
Returns verified sub, email, name, and avatar_url claims |
| JWKS | /oauth/jwks |
Public keys for verifying signed JWT ID tokens |
| Introspect / Revoke | /oauth/introspect, /oauth/revoke |
Checks token state or invalidates issued tokens cleanly |
Keep your callback path consistent (https://<your-app>/your-callback matching the registered client redirect URI) and never commit client secrets into client code or repositories.
Shared UI widgets (widgets/v1.js)
Include one deferred script tag from Wynter.ai:
<script src="https://wynter.ai/widgets/v1.js" defer></script>
Render lightweight custom elements matching your app layout:
<wynter-login>— triggers the standard Wynter SSO flow from guest headers or forms<wynter-account-menu>— shows signed-in user avatar, profile link, and sign-out control<wynter-app-switcher>— cross-links companion suite apps cleanly<wynter-app-footer>— unified Wynter account & legal footer links
For the user-facing view of login, security, and cross-app navigation, see How Wynter AI SSO works across every app and Managing devices, linked logins, and account security.
Frequently Asked Questions
What OAuth/OIDC flow do Wynter.ai companion apps use?
All first-party and partner web apps use OAuth 2.0 Authorization Code flow with `S256` PKCE against standard OpenID Connect endpoints under `https://wynter.ai`.
Does Wynter.ai support silent background login across domains?
Yes. Companion apps can pass `prompt=none` when calling `/authorize` to check for an active Wynter.ai session silently before showing a login button.
Are shared credit widgets still used on satellite apps?
No. The older `<wynter-credits>` wallet component is retired because suite apps now run free with each user's own AI provider keys. Keep `<wynter-login>`, `<wynter-account-menu>`, `<wynter-app-switcher>`, and `<wynter-app-footer>`.