# Yoursafe ID Integration

Implement OAuth 2.0 / OpenID Connect with Yoursafe Identity Services.

## Getting Started

### Step 1. Create or access your Yoursafe Business account

Sign up or continue with your existing Business account.

              Sign up

### Step 2. Create your Yoursafe ID client

Open{" "} [business.yoursafe.com/yoursafe-id-client](https://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](/en/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](/en/id-integration)

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