Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production - Add Credentials for Google OAuth in Env #2329

Open
2 tasks
listiclehub1 opened this issue Dec 31, 2024 · 1 comment
Open
2 tasks

Production - Add Credentials for Google OAuth in Env #2329

listiclehub1 opened this issue Dec 31, 2024 · 1 comment
Assignees

Comments

@listiclehub1
Copy link
Contributor

listiclehub1 commented Dec 31, 2024

Date: 31/12/2024

Developer Name: Utkarsh Bansal

Description

Staging Issue

The issue ticket for staging and it has been added by Prakash

Go to Google Cloud Console:

https://console.cloud.google.com/auth/

Create a New Project or Select exisiting:

Click the dropdown at the top of the page to view your projects.
Click New Project or Select existing Project.

If Google auth platform not configured yet this screen will be shown:

Screenshot 2024-12-10 at 9 22 28 PM

If not configured

We have to create Configuration Screenshot 2024-12-10 at 9 23 02 PM Screenshot 2024-12-10 at 9 23 29 PM Screenshot 2024-12-10 at 9 23 40 PM Screenshot 2024-12-10 at 9 23 58 PM Screenshot 2024-12-10 at 9 24 18 PM

Then this screen will be shown.

Click on Create OAuth Client.

Screenshot 2024-12-10 at 9 24 36 PM

Fill these details.

  • Select Web Application
  • Add name Real Dev Squad
  • Add Authorised JavaScript origins https://realdevsquad.com
  • Add Authorised redirect URIs (This is most important):
    https://api.realdevsquad.com/auth/google/callback
Screenshot 2024-12-10 at 9 49 20 PM

Adding to Env

Copy the Client Id and Client secret and add to Env.

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
googleOauth: {
    clientId: "GOOGLE_CLIENT_ID",
    clientSecret: "GOOGLE_CLIENT_SECRET",
}
@listiclehub1
Copy link
Contributor Author

The issue ticket for staging and it has been added by Prakash

@ankushdharkar ankushdharkar self-assigned this Jan 7, 2025
@ankushdharkar ankushdharkar changed the title Add Credentials for Google OAuth in Env Production - Add Credentials for Google OAuth in Env Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants