google-auth-simplify
It simplifies google-auth-library
in 3 steps:
- Generate auth URL.
- Get auth token.
- Get user info.
Install
npm i google-auth-simplify
Example
const express = ;const GoogleAuth = ; const app = ; const googleAuth = clientId: GOOGLE_CLIENT_ID clientSecret: GOOGLE_CLIENT_SECRET redirectURI: GOOGLE_REDIRECT_URI; app; app; app;