integreat-authenticator-googleauth
v1.1.0
Published
Google Auth authenticator for Integreat
Readme
Google Auth authenticator for Integreat
Uses Google's Auth to authenticate.
Getting started
Prerequisits
Requires node v20 and Integreat v1.0.
Installing and using
Install from npm:
npm install integreat-authenticator-googleauthThe authenticator supports the following options:
type:'accessToken'is the default and returns a Google access token. Set to'idToken'to return a Google ID token (JWT).aud: The audience for the ID token. When not set, theurlwill be used as audience. Not relevant for access token.url: The url to call when fetching the ID token. No default. Not relevant for access token.scopes: A scope string or an array of scope strings. Default is'https://www.googleapis.com/auth/cloud-platform'. If you need to have no scopes for some reason, set it to an empty array.
Running the tests
The tests can be run with npm test.
Contributing
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests.
License
This project is licensed under the ISC License - see the LICENSE file for details.
