Direct answer: The identity platform is trending on GitHub this week. Single sign-on runs on the OAuth 2.0 and OpenID Connect handshake - authorization codes, token exchange and scoped access behind every one login everywhere experience.

An identity platform is trending on GitHub this week, and behind it sits the protocol handshake that every modern login uses whether you know it or not.

Single sign-on feels like one feature and is a stack of precise flows. Understanding one flow - the authorization code - explains nearly every login button on the web.

The cast of characters

The flow has four roles: the user, the application wanting access, the identity provider holding credentials, and the API holding the resource.

Redirectapp sends user to loginAuthenticateprovider verifies identityCode returnsone-time, short-livedToken exchangecode becomes access token

The indirection is the security: the app never sees the password. It receives a code it cannot use alone, then exchanges it server-side for tokens.

What the tokens actually are

An access token is a signed set of claims - who you are, what scopes you hold, when it expires. Resource servers verify the signature and enforce the scopes.

TokenPurposeLifetime
Access tokenProves authorization to call APIsMinutes to hours
Refresh tokenObtains new access tokensDays, revocable
ID tokenCarries identity claims to the appShort-lived, signed
Authorization codeOne-time exchange voucherSeconds

Why sign-on centralized

Before federation, every app stored passwords and every breach leaked some. Centralizing identity means one hardened system guards credentials and apps only trust its verdicts.

  • One credential store to secure, not fifty.
  • Consistent MFA everywhere at once.
  • Central revocation kills stolen sessions globally.
  • Apps become consumers of identity, not keepers of it.

The consolidation follows a security principle: concentrate the risk where it can be managed best, then make everything else trust that point.

missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

The bigger picture

Identity became infrastructure the way networking did - specialized systems doing one job, with standard protocols connecting everything else.

So this week’s trending platform is the open-source embodiment of that shift: the login you perform daily is a protocol exchange, and now you can name its steps.

The bottom line: Apps never see passwords; they exchange codes for tokens. Access tokens are signed claims with scopes and expiry. Central identity concentrates credential risk where it is manageable. OIDC adds identity on top of OAuth’s authorization.

Key takeaways

  • Apps never see passwords; they exchange codes for tokens.
  • Access tokens are signed claims with scopes and expiry.
  • Central identity concentrates credential risk where it is manageable.
  • OIDC adds identity on top of OAuth’s authorization.

Quick answers

What is the difference between OAuth and OIDC?
OAuth delegates authorization - what you may access. OpenID Connect layers identity on top - who you are. Modern logins use both together.

Why the extra code-exchange step?
The code keeps tokens off the browser URL. The app exchanges it server-side over a secure channel, away from user-visible surfaces.

Can tokens be revoked?
Refresh tokens can, centrally - which is why stolen access tokens matter only until their short expiry.

One thing to do tonight

Tonight, sign in to any app with a single-sign-on button and narrate the four steps to yourself as they happen. The protocol will unfold visibly.