accounts.dev

Add accounts.dev sign-in to your app

Register your app and connect it using a standard OpenID Connect client library.

Issuer

https://accounts.gameup.dev/api/auth

Discovery URL

https://accounts.gameup.dev/api/auth/.well-known/openid-configuration

  1. Register your callback URL. Create a separate registration for each environment. For remote dev and previews, register your exact HTTPS callback. For local dev, use a callback such as http://localhost:3001/auth/callback if your provider allows loopback HTTP. Choose a confidential client if your server can store a secret, or a public client if it cannot.
  2. Configure your OIDC library. Use the issuer, client ID, and registered token authentication method. Use authorization code with S256 PKCE, state, and nonce. Request openid and add profile or email as needed. For refresh tokens, request offline_access and send prompt=consent.
  3. Handle the callback. Validate state before processing success or errors such as denied consent. Let your library validate the ID token signature, issuer, audience, expiry, and nonce. Identify users by issuer and subject, not their email address.
Register an application