Skip to main content

OIDC configurations

Google​

  1. Go to Google Cloud Console (https://console.cloud.google.com)

Google Console

  1. Create a new project or select an existing one
  • Click on the project dropdown at the top
  • Click "New Project" or select existing
  • If creating new, enter name and click "Create"

Create new google project

Create new google project 2

  1. Enable OAuth consent screen
  • Go to APIs & Services > OAuth consent screen
  • Choose External user type
  • Fill required fields (app name, user support email, developer contact)
  • Under OAuth consent screen, add test users if you're in test mode to make specific users able to user the newly added OIDC feature.
  • Add authorized domains including your platform's domain
  • Enable required Google APIs (like userinfo.email, userinfo.profile, and openid) if needed
  • Save and continue

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

OAuth consent screen

  1. Configure OAuth credentials
  • Go to APIs & Services > Credentials
  • Click "Create Credentials" > OAuth client ID
  • Select Web application as application type
  • Add name for the OAuth client
  • Add any additional authorized JavaScript origins and redirect URIs as needed
  • Click on Create

Credentials

Credentials

Credentials

  1. Get credentials
  • After creation, you'll see the Client ID and Client Secret
  • Client Secret is shown only once, so store it safely

Credentials

  1. Then finaly, fill the following environment variables:
  • OIDC_GOOGLE_CLIENT_ID on the frontend
  • OIDC_GOOGLE_CLIENT_ID and OIDC_GITHUB_CLIENT_SECRET on the backend

Github​

  1. Go to GitHub Developer Settings (https://github.com/settings/developers)

GitHub Developer Settings

  1. Register a new OAuth application
  • Click on "New OAuth App"
  • Fill in the required fields:
    • __Application name°° - Provide a name for the application
    • Homepage URL - Enter your platform's homepage URL
    • Authorization callback URL - Provide the redirect URI where GitHub will send authentication responses
  • Click "Register application"

Register OAuth App

Register OAuth App

  1. Retrieve Client ID and Client Secret
  • After registration, you will see the Client ID on the application details page
  • Click "Generate a new client secret"
  • Store the Client Secret securely, as it will be shown only once

Retrieve Credentials

Retrieve Credentials

Your GitHub OAuth application is now ready for use in your OIDC configuration.

  1. The environment variables to use are the following:
  • OIDC_GITHUB_CLIENT_ID on the frontend
  • OIDC_GITHUB_CLIENT_ID and OIDC_GITHUB_CLIENT_SECRET on the backend