For Developers

Adding Your Google OAuth Client

This guide will help you configure your own Google OAuth client to customize the Google consent screen experience. By setting up your own OAuth client, your users will see your application's title and logo on the Google consent screen instead of Edlink's branding, providing a more seamless and branded experience.

Before Getting Started

Creating a Google OAuth client goes hand-in-hand with Google Branding. If your Branding hasn't been set up yet, please go to Configuring Google Branding to see the instructions on how to do that first.

What are we going to do?

  1. Get the Redirect URI for the custom Google Client
  2. Create a custom Google Client in Google Cloud Console
  3. Get the Client ID and secret and provide them to Edlink
  4. Enable the Google Provider

Getting the Redirect URI

  1. On Edlink, go to Applications -> Your Applications -> Providers (tab). Click on Configure under the Google provider.
Edlink Google Provider Configuration
  1. The Configure Client modal will open. Find the "Authorized redirect URI" field and copy the URL from there.
Edlink Copy Redirect URI
  1. Go to Google Auth Platform / Clients. Click on the + Create client button.
Google Cloud Create Client
  1. For the Application type, select Web application.
Google Cloud Select Web App
  1. Enter a Name for your client (e.g., My Super Client).
Google Cloud App Name
  1. Scroll down to fill out the URIs:
    1. Click on Add URI in the "Authorized JavaScript origins" section and add https://ed.link.
    2. Click on Add URI in the "Authorized redirect URIs" section, and paste the URL you copied from Edlink.
    3. Click on the Create button at the bottom of the form.
Google Cloud Paste URI and Create
  1. An "OAuth client created" window will pop up. Copy the Client ID and the Client secret, and store them in a secure place. DO NOT share them with anyone. You can also use "Download JSON" to store all the credentials.
Google Cloud Copy ID and Secret
If you lost your secrets, or they were exposed, you can always revoke the exposed secrets and create new ones on the Client's details page in the "Additional information" section. Do not forget to update credentials on the "Configure" page on Edlink.
  1. Go back to your Edlink dashboard. Paste your Client ID and Client Secret into the "Configure Client" modal, then click on the Save Configuration button.
Edlink Paste ID and Secret
  1. Once the configuration is saved, do not forget to toggle the Google provider to Enabled.
Edlink Enable Provider

Well done!

You've successfully set up your custom Google client. You can further customize your Google consent screen here: Google Auth Platform / Branding.

Any Questions?

If you still have questions, please contact our support team and we'll get back to you within 24 business hours.