Safeguard
Tag

oauth2

Safeguard articles tagged "oauth2" — guides, analysis, and best practices for software supply chain and application security.

6 articles

Vulnerability Analysis

CVE-2021-22112: Improper authorization in Spring Security...

CVE-2021-22112 let Spring Security lose SecurityContext changes mid-request, an improper authorization flaw exposing OAuth2-secured apps to privilege escalation.

Jun 21, 20268 min read
Security

oidc-client-ts: A Security Guide for Browser OIDC

oidc-client-ts is the maintained TypeScript library for adding OpenID Connect and OAuth2 to browser apps. Here is how to use it, and how to avoid the token-handling mistakes that undo its security.

Jun 19, 20266 min read
Open Source

angular-auth-oidc-client: A Security-Focused Guide to Angular OIDC

angular-auth-oidc-client is a certified Angular library for OpenID Connect and OAuth2. Here is how to use it and how to configure it securely.

Apr 24, 20266 min read
Open Source

angular-oauth2-oidc: Secure OAuth2 and OIDC in Angular

angular-oauth2-oidc is the most widely used OAuth2 and OpenID Connect client for Angular apps. Here is how to wire it up with PKCE, validate tokens correctly, and avoid the config mistakes that leak sessions.

Mar 24, 20266 min read
Regulatory Compliance

Common OAuth2 and JWT implementation mistakes in FastAPI ...

A practical walkthrough of the FastAPI JWT security mistakes that lead to broken authentication, plus concrete fixes for OAuth2 flows and token validation.

Jan 25, 20268 min read
Application Security

FastAPI Authentication Best Practices in 2026

Practical, opinionated guidance on authentication in FastAPI: token formats, dependency patterns, refresh flows, and the mistakes we still see in production code reviews.

Jan 22, 20265 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

oauth2 — Safeguard Blog