Real-Dev-Squad / todo-action-items

A running list of todo items for Real Dev Squad site
MIT License
4 stars 8 forks source link

Google cloud setup for tiny site backend #207

Closed vinit717 closed 3 months ago

vinit717 commented 8 months ago

Description

Tiny site is currently using Google authentication for login to setup the Google client Id and client secret below are the steps to set it up

Step -1

- Go to https://console.cloud.google.com/

Then create a new project or if we already have a project create OAuth 2.0 Client IDs under API/credentials

image image image

Step - 2

- Add redirect URI

this https://services.realdevsquad.com/tinysite/v1/auth/google/callback

image

Step - 3

- Download the JSON and go the https://github.com/Real-Dev-Squad/tiny-site-backend/settings/environments /prod and edit client_id and client_secret with the exact value

image

Step -4

- Check Publishing status to be Production

image

ankushdharkar commented 3 months ago

Thank you for the steps @vinit717.

✅I have added the two keys in the following env secrets:

image