@boilerz/super-server-auth-google

1.0.34 • Public • Published

@boilerz/super-server-auth-google

GitHub package.json version GH CI Action codecov

Google oauth for super-server

Install

npx install-peerdeps @boilerz/super-server-auth-google 

Usage

Require super-server-mongo and super-server-auth-core.

Full example here

Env vars

Name Default Description
SERVER_HOST http://localhost:3000 Server host
GOOGLE_OAUTH_SCOPE https://www.googleapis.com/auth/userinfo.profile,https://www.googleapis.com/auth/userinfo.email Oauth scope
GOOGLE_CLIENT_ID Client ID.
GOOGLE_CLIENT_SECRET Client secret.
GOOGLE_FAILURE_REDIRECT /login Google failure redirect.
GOOGLE_LINK_PROVIDER_CALLBACK_URL ${SERVER_HOST}/auth/connect Callback used for account linking.

Release

yarn version
yarn build
yarn publish dist --access public

Readme

Keywords

none

Package Sidebar

Install

npm i @boilerz/super-server-auth-google

Weekly Downloads

0

Version

1.0.34

License

MIT

Unpacked Size

19.1 kB

Total Files

22

Last publish

Collaborators

  • boilerz-tech