Get Google Credentials for Login
Get Started
button.App Information
Section, fill out the details :
NEXT
.
Audience
section select Internal
:
External
.NEXT
.
Contact Information
give the developer email. (For ex: your-contact@gmail.com)
NEXT
.
Finish
section click on the checkbox to accept Google’s User Data Policy.
CONTINUE
.
CREATE
.
External
in your Audience
section, you can now navigate to Audience
section again in the side menu and add your allowed external users in the Test Users
section. Data Access
section on the left-side menu.Scopes
section you’ll see the Add or Remove Scopes
button. Click on that:/auth/userinfo.email
,/auth/userinfo.profile
and openid
, leave out the rest of it.Save
.Clients
section in the menu on the sidebar,+CREATE CLIENT
,
Create OAuth client ID
option.
Web Application
, and give it a name (For ex: Xyne)http://localhost:3001
for local or replace with http://<YOUR_AWS_EC2_IPv4_DNS>
for production.http://localhost:3001/v1/auth/callback
for local setup or https://<YOUR_AWS_EC2_IPv4_DNS>/v1/auth/callback
for production.http://localhost:3001/oauth/callback
for local setup or https://<YOUR_AWS_EC2_IPv4_DNS>/oauth/callback
for production.http://localhost:3000
as authorized Javascript Origins. Use http://localhost:3000/v1/auth/callback
and http://localhost:3000/oauth/callback
when using dev-mode.CREATE
and make sure to save the Client ID and Client Secret for putting it in the .env
of the application