unkey-session cookie, workspace, and invitation administration stubs.
Configure an environment
Set these dashboard variables whenAUTH_PROVIDER="workos":
Configure each WorkOS environment independently:
- Set the dashboard sign-in endpoint to
/auth/sign-in. - Add the exact production, canary, preview, or staging callback URL.
- Keep the application user invitation URL set to the default AuthKit URL.
- Add exact dashboard origins to the User Profile, User Security, and User Management widget CORS allowlist.
- Grant
widgets:users-table:manageto each WorkOS role that can administer workspace members. - Configure approved Magic Auth, social OAuth, SSO, email verification, MFA, Radar, session lifetime, and refresh lifetime policies.
- Confirm User Security lets a user enroll in MFA when neither the global nor organization policy requires MFA.
- Route WorkOS-initiated sign-in and impersonation through the dashboard sign-in endpoint so AuthKit creates the PKCE transaction.