Skip to content

google sign in implemented#1

Open
SandipLow wants to merge 1 commit intosujal3011:masterfrom
SandipLow:change
Open

google sign in implemented#1
SandipLow wants to merge 1 commit intosujal3011:masterfrom
SandipLow:change

Conversation

@SandipLow
Copy link
Copy Markdown

Hey Sujal,
I've implemented the google sign in here through OAuth2 using passport.js...
kindly have a check please...

All you need to do is

  1. To get Google Client Id and Secret , you have to make a google cloud project ,enable G+ api there then create a credential for web client for this....

    Refer these one :
    https://support.google.com/googleapi/answer/6158841?hl=en
    https://developers.google.com/workspace/guides/create-credentials

  2. Set Environment Variable :

Front end :

REACT_APP_SERVER_DOMAIN=<Back end Domain>||'http://localhost:3000'

Back end :

MONGODB_URI='*'
GOOGLE_CLIENTID='*'
GOOGLE_CLIENTSECRET='*'
CLIENT_URI='<Front end Domain>||'http://localhost:3000'

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

Successfully merging this pull request may close these issues.

1 participant