Documentation
Menu

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

Step 2

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).

Step 3

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 .

Step 4

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.

Next

Integration

OAuth 2.0 / OIDC end-to-end integration with validation and token exchange.