denson / set_up_google_oauth2_creds

Setting up Google Oauth2 credentials for a web application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set_up_google_oauth2_creds

The very short version of why you would want to use Oauth2 on your web application is that it allows you to manage users without having to collect and store personal information youself. Google or some other trusted provider handles authenticating that a user is who they claim to be.

This Digital Ocean article does a pretty good job of summerizing Oauth2.

In order to generate credentials to use Google as an Oauth2 provider you have to take a few steps:

  • Verify your domain
  • Generate a privacy policy and make if available online.
  • Generate Oauth Client ID credentials

You will need to verify you domain with a TXT verification record.

You will need a privacy policy page you can easily generate host a free one.

https://console.developers.google.com/apis/credentials

https://www.google.com/webmasters/verification/

About

Setting up Google Oauth2 credentials for a web application