Skip to content

Commit e66829d

Browse files
committed
docs(authn): remove trailing spaces; keep OAuth 2.1/OIDC notes lint-clean
1 parent 3e1f66e commit e66829d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cheatsheets/Authentication_Cheat_Sheet.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,19 +309,21 @@ OAuth is an **authorization** framework for delegated access to APIs.
309309

310310
See also: [OAuth 2.0 Cheat Sheet](OAuth2_Cheat_Sheet.md).
311311

312-
> **Note on OAuth 2.1:** OAuth 2.1 is an IETF Working Group draft that consolidates OAuth 2.0 and widely adopted best practices and is intended to replace the core OAuth 2.0 RFCs. Guidance in this cheat sheet applies to both OAuth 2.0 and OAuth 2.1.
312+
> **Note on OAuth 2.1:** OAuth 2.1 is an IETF Working Group draft that consolidates OAuth 2.0 and widely adopted best practices and is intended to replace the core OAuth 2.0 RFCs. Guidance in this cheat sheet applies to both OAuth 2.0 and OAuth 2.1.
313+
>
313314
> References: [draft-ietf-oauth-v2-1-13](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-13), [oauth.net/2.1](https://oauth.net/2.1/)
314315
315316
### OpenID Connect (OIDC)
316317

317-
**OpenID Connect 1.0 (OIDC)** is an identity layer **on top of OAuth**. It defines how a client (**relying party**) verifies the **end users** identity using an **ID Token** (a signed JWT) and how to obtain user claims in an interoperable way. Use **OIDC for authentication/SSO**; use **OAuth for authorization** to APIs.
318+
**OpenID Connect 1.0 (OIDC)** is an identity layer **on top of OAuth**. It defines how a client (**relying party**) verifies the **end user's** identity using an **ID Token** (a signed JWT) and how to obtain user claims in an interoperable way. Use **OIDC for authentication/SSO**; use **OAuth for authorization** to APIs.
318319

319-
**Implementation guidance**
320+
#### Implementation guidance
320321
- **Validate ID Tokens** on the relying party: issuer (`iss`), audience (`aud`), signature (per provider JWKs), expiration (`exp`).
321322
- Prefer **well-maintained libraries/SDKs** and provider discovery/JWKS endpoints.
322323
- Use the **UserInfo** endpoint when additional claims beyond the ID Token are required.
323324

324-
> **Avoid confusion:** **OpenID 2.0 (“OpenID”)** was a separate, legacy authentication protocol that has been **superseded by OpenID Connect** and is considered obsolete. New systems should not implement OpenID 2.0.
325+
> **Avoid confusion:** **OpenID 2.0 ("OpenID")** was a separate, legacy authentication protocol that has been **superseded by OpenID Connect** and is considered obsolete. New systems should not implement OpenID 2.0.
326+
>
325327
> References: [OpenID Foundation — obsolete OpenID 2.0 libraries](https://openid.net/developers/libraries-for-obsolete-specifications/), [OpenID 2.0 → OIDC migration](https://openid.net/specs/openid-connect-migration-1_0.html)
326328
327329
### SAML

0 commit comments

Comments
 (0)