Auth0

Social Connection Integration

When adding a Social Connection, you will see BitBadges as a preconfigured option. This has everything setup for you. You will simply need to specify your client ID and client secret. You will also have to configure your redirect URI to match your Auth0 application's domain. This typically ends with /callback (for example, https://dev-pgv803tz4ztg35oi.us.auth0.com/login/callback).

Custom

You can also customize the connection further by creating a custom connection. This allows you to add parameters beyond the standard flow. You callback will be the same as above.

Authorization URL: https://bitbadges.io/siwbb/authorize

Token URL: https://api.bitbadges.io/api/v0/siwbb/token

Scopes: None (All you typically need is the user crypto address) - Although, you can add as needed

Fields: Get your API key, client ID, and client secret at https://bitbadgesio/developer.

Fetch Profile Script:

Custom Headers:

Make sure you enter your API key in the custom headers an d replace it in the fetch script.

Last updated