Sign in with Galxe - Demo
Please see the Demo and its source code.Visual Guidelines
Make sure you use this resource and follow our brand guidelines to implement Sign in with Galxe.Getting Started
To get started, please apply for a client ID by contacting our live chat support from your dashboard management page.OAuth
Galxe’s OAuth implementation supports the standard authorization code grant type for apps that don’t have access to a web browser.Authorization flow
The request flow to authorize users for your app is:- Users are redirected to request their Galxe identity.
- Users are redirected back to your site by Galxe.
- Your app accesses the API with the user’s access token.
1. Request a user’s Galxe identity
URL
- Discord
- Github
- Telegram
- EVMAddress
- SolanaAddress
- SeiAddress
- AptosAddress
- InjectiveAddress
- FlowAddress
- GalxeID
Parameters
Response
By default, the response will add the following parameter to yourredirect_uri:
2. Get Access Token
If the user accepts your request, Galxe redirects back to your site with a temporarycode in a code parameter as well as the state you provided in the previous step in a state parameter. The temporary code will expire after 10 minutes. If the states don’t match, then a third party created the request, and you should abort the process.
Exchange this code for an access token.