The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.
Viewing files at commit 0fc0266ffa14Commit detailsView latest
docs/SOCIAL_LOGIN_SETUP.md
41 lines · 2.3 KB
Google and GitHub-only login
OpenClasp now renders only Google and GitHub login buttons. The backend does not support an OpenClasp email/password login.
One-time provider setup
- In the Descope Console for the OpenClasp project, add
https://openclasp.vercel.appunder Settings → Project → Approved Domains. - Go to Settings → Authentication Methods → Social Login. Enable Google and GitHub and keep Enable method in API and SDK on; the web application starts the social OAuth flow directly.
- For production, choose Use my own account for each provider and paste credentials from the provider applications below. Descope's defaults are suitable only for limited testing.
- Do not add email OTP, magic-link, password, passkey, or SSO actions to the project login flow.
Google OAuth application
- In Google Cloud Console, create an OAuth client for a web application called OpenClasp.
- Add
https://openclasp.vercel.appas an authorized JavaScript origin. - In Descope's Google provider configuration, copy the exact OAuth Callback URL into Google as
an authorized redirect URI. Without a custom Descope domain this is normally
https://api.descope.com/v1/oauth/callback. - Copy the Google client ID and client secret back into Descope, then save.
GitHub OAuth application
- In GitHub Settings → Developer settings → OAuth Apps, create an OAuth App named OpenClasp.
- Set Homepage URL to
https://openclasp.vercel.app. - Set Authorization callback URL to
https://api.descope.com/v1/oauth/callback. - Generate a client secret. In Descope's GitHub provider select Use my own account and paste
the client ID and secret. Request only
user:emailif you need an email attribute.
Test
Open https://openclasp.vercel.app/login. Test Google and GitHub in separate private browser
windows. Both should return to /dashboard?code=...; the app exchanges the one-time code and
removes it from the address bar. A disabled or misconfigured provider shows a clear error.
References: Descope social login settings, Google setup, and GitHub setup.