OAuth
Esta página aún no está disponible en tu idioma.
ALTCHA Forms supports OAuth authentication as an alternative to Passkey authentication, allowing users to authenticate with external accounts such as Google and GitHub. This document outlines how to configure and enable OAuth authentication.
When configured, the “Continue with [provider]” buttons will be displayed on the authentication screen. Users can simply click these buttons and follow the provider’s OAuth flow to authenticate.
Supported Providers
Currently supported OAuth providers:
- GitHub
Google OAuth
To enable Google authentication, configure the necessary credentials using the following environment variables:
Obtaining Credentials
To obtain the client ID and secret for your app, follow the steps provided in the Google OAuth 2.0 documentation.
Required scopes:
userinfo.email
userinfo.profile
Callback URL:
{BASE_URL}/app/oauth/google/callback
GitHub OAuth
To enable GitHub authentication, configure the necessary credentials using the following environment variables:
Obtaining Credentials
To obtain the client ID and secret for your app, create a new OAuth App in the Developer Settings of your GitHub account.
Callback URL:
{BASE_URL}/app/oauth/github/callback