Auth0 by Okta

Guide on how to add ARES as an OAuth sign in provider with Auth0

circle-info

If you run into any problems, email us at admin@joinares.com or refer to the official Auth0 resource here: https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/oauth2arrow-up-right

Step 1: In your dashboard, head over to Authentication, then to Social

Step 2: Click "Create connection" in the top right

Step 3: Scroll down to the very bottom and click "Create Custom"

Step 4: Fill in the following values in the fields:

Name: ARES

Authorization URL: https://joinares.com/oauth

Token URL: https://oauth.joinares.com/oauth/token

Step 5: In the same page as step 4, configureyour client ID and client secret

triangle-exclamation

Step 6: Also in the same page, add the fetch user profile script with the following code:

Step 7: Click "Create"

Step 8: Enable connection for your app

Step 9: Configure Redirect URI with ARES

Once you have set everything up, email admin@joinares.com with your client ID and redirect URI.

circle-info

If you're using an Auth0-hosted log in page, your redirect URI will look like https://dev-{your-app}.us.auth0.com/login/callback

You can find your redirect URI in this pagearrow-up-right (must be logged in).

circle-info

If you're using a self-hosted log in flow, your URI will look like: https://{yourDomain}/login/callback

circle-info

Each Auth0 application has different redirect URIs.

triangle-exclamation

Step 10: Now your app can access ARES API endpoints if the user signs in with ARES. Next, configure your app to track user usage to earn credits.

circle-check
Track Usage with Auth0chevron-right

Last updated