Yoursafe ID Integration
Implement OAuth 2.0 / OpenID Connect with Yoursafe Identity Services using a production-ready flow and clear validation controls.
What this is for
Teams integrating login and identity claims without building a custom identity provider stack.
Implementation outcome
A secure Authorization Code flow that returns verifiable tokens and reliable user identity claims.
Minimum controls
Validate state/nonce, enforce exact
redirect URI matching, and verify token signatures and claims.
Getting Started
Create or access your Yoursafe Business account
Sign up at business.yoursafe.com/register or continue with your existing Business account.
Create your Yoursafe ID client
Open business.yoursafe.com/yoursafe-id-client and create a new client.
Keep the generated client_id and client_secret server-side only, and configure your
callback URL exactly (for example http://localhost:3000/auth/callback).
Confirm your required scope
Start with openid default. If you need additional
claims, request access to openid platform or
openid profile via your Yoursafe Account Manager.
For claim differences and onboarding impact, see Yoursafe ID Claims Glossary .
Integrate Yoursafe ID in your app
Implement the end-to-end flow: auth-state check, login redirect, callback handling, token exchange, profile mapping, and logout.