Generating OAuth Client Key and Secret

  1. Go to the Credentials page in the Google Cloud Platform console.

  1. Select + Create Credentials in the top bar and then select OAuth client ID from the options list.

  1. If you have not created OAuth consent screen before, you will need to create one.

  1. Since Bifrost will be used for your internal employees only, Use Internal option in the list

  1. Enter required details like App name, your email, developer contact information, authorized domain etc.

  1. After creating consent screen, Once on the Create OAuth client ID screen choose Web application from the Application type dropdown.

Give your application a name. We recommend something like Bifrost to make it easy to identify and locate in the future.

  1. Add your Bifrost domain as an authorized JavaScript origin URI. So if you are planning to use https://bifrost.yourdomain.com to access Bifrost enter https://bifrost.yourdomain.com as a URI.
  2. Add <https://bifrost.yourdomain.com/auth/callback/google> as Authorized redirect URI.
  3. Click Create. You will be then be presented with a client ID and client secret that you can use in bifrost configuration file.