Create the Google OAuth client
Google needs to know Astrolabe before it lets people sign in. You create an OAuth client in Google Cloud and copy two values from it.
You do it once. These steps happen in Google Cloud. They were not checked on a live instance.
Before you startβ
You need the address of your Astrolabe, for example astrolabe.example.com.
π Create the clientβ
-
In the Google Cloud console, open APIs & Services, then Credentials.
-
Click Create credentials, then OAuth client ID.
-
In Application type, choose Web application.
-
In Name, enter
Astrolabe. -
Under Authorized redirect URIs, click Add URI and enter:
https://astrolabe.example.com/api/auth/google/handler/frameReplace
astrolabe.example.comwith the address of your Astrolabe. -
Click Create.
-
Copy the Client ID and the Client secret.
β That's it!
Next: Add Google sign-in.