Skip to main content

Add Google sign-in

Once Google is on, the sign-in page shows a Continue with Google button.

You do it once, as an administrator.

Before you start​

You need the Client ID and the Client Secret of a Google OAuth client: see Create the Google OAuth client.

πŸ”§ Turn Google on​

  1. In the left sidebar, at the bottom, click Administration.

  2. Under PLATFORM, click Authentication.

  3. On the Google card, turn on the switch at the top right. The window Configure Google opens.

  4. Fill in the form:

    FieldWhat to enter
    Client IDThe Client ID of the OAuth client
    Client SecretIts Client secret

    Both are marked (Required). The ? next to Client ID gives the address to declare at Google: <Astrolabe address>/api/auth/google/handler/frame.

  5. Click Install. The screen says The configuration has changed; the server is restarting. Wait a few seconds.

The Google card is now among the active providers at the top of the list, its switch is on, and it has a Configure button.

βœ… Check​

  1. Top right, click your initial, then Logout.

  2. The sign-in page shows Continue with Google, above Or and the Username and Password form.

Signing in through Google was not checked on a live instance. Astrolabe then looks in your catalog for the user whose name is the part of the Google email address before the @.

πŸ”„ Change or remove Google​

  1. On the Google card, click Configure.

  2. To change the client, edit Client ID. To change the secret, click Replace next to Client Secret. Click Update Configuration.

  3. To remove Google, click Uninstall.

βœ… That's it!

Something is wrong? See Common problems with sign-in.