Skip to content

theazran/google-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google OAuth2

HitCount GitHub repo size npm version

Before using theazran/google-oauth2, you must register an application with Google. If you have not already done so, a new project can be created in the Google Developers Console. Your application will be issued a client ID and client secret, which need to be provided to the strategy. You will also need to configure a redirect URI which matches the route in your application.

Change this line

const GOOGLE_CLIENT_ID = 'Google-client-ID'
const GOOGLE_CLIENT_SECRET = 'Google-client-secret'
const CALLBACK_URL = 'https://domain.com/google/callback' 

Instalation

git clone https://github.com/theazran/google-oauth2
cd google-oauth2
npm install
npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Donate Me

Saweria

Releases

No releases published

Packages

No packages published