Application accounts and sessions
Turning a verified sign-in into an application account and session, linking accounts and social providers safely, and offline access.
Start with Connecting a sign-in to an account
- Connecting a sign-in to an accountTurn a validated OpenID Connect sign-in into a local account by storing the issuer and subject pair, handling a first sign-in safely, and keeping profile claims as copies.
- Linking accountsLink a provider sign-in to an existing account by proving control of both sides, and see why a matching or even verified email address can hand an account to someone else.
- Adding social sign-inAdd a provider button to the collage app's sign-in page and set its own rules: whether a first sign-in may create an account, how far the provider's sign-in counts, and how to plan for outages and retirement.
- Which provider facts to trustTreat the mapping from provider claims to account fields as configuration: give each claim one job, keep every mapping away from authority, decide when it runs, and change it safely.
- Establishing an application sessionStart the relying party's own session after an OpenID Connect sign-in, keep it separate from the provider's session and the ID token, and record what later decisions need.
- Offline access and refresh behaviorRequest offline access with prompt=consent, check the ID token a refresh can return, and see why a successful refresh never shows that someone is present or extends a session.