2.0.1 • Published 4 months ago

@transomjs/transom-mongoose-localuser-googletoken v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 months ago

transom-mongoose-localuser-googletoken

Add Google authentication to a Transom REST API. This plugin should be used from PWAs or single page apps where you cannot redirect the whole app to the google callback url.

Instead, you use google's sdk to login and pass the acquired access token to the endpoint created by this plugin, for validation. The default end point (/prefix/user/googletoken) accepts a post request and returns a JWT cookie to be used for subsequent requests.

2.0.1

4 months ago

2.0.0

4 months ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago