@ralfuhlig/node-red-oauth2-auth

0.3.0 • Public • Published

node-red-oauth2-auth

OAuth2 client for getting oauth2 credentials by the authorization flow to use in other nodes. Credentials are automatically refreshed on expiration. After a successful authorization, the msg object has a new element bearerToken with the value Bearer access token. This element can be used of the authentication e.g. in the htmlRequest node.

I liked to have an indepentent implementation of the oauth2 authentication flow. Inspired by https://github.com/node-red/node-red-web-nodes/tree/master/google, I implemented this node in a similar way. Maybe it's useful for others. Up to now, there are no releases.

/@ralfuhlig/node-red-oauth2-auth/

    Package Sidebar

    Install

    npm i @ralfuhlig/node-red-oauth2-auth

    Weekly Downloads

    136

    Version

    0.3.0

    License

    Apache-2.0

    Unpacked Size

    30.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • ralfuhlig