UNPKG

node-red-contrib-oauth2

Version:

The node-red-contrib-oauth2 is a Node-RED node that provides an OAuth2 authentication flow. This node uses the OAuth2 protocol to obtain an access token, which can be used to make authenticated API requests.

68 lines (67 loc) 2.82 kB
{ "oauth2": { "oauth2": "oauth2", "tips": { "debug": "Check the box to enable debug mode with extra logs.", "client_credentials_in_body": "Ensure that the client credentials are included in the token request body for authentication purposes.", "rejectUnauthorized": "The rejectUnauthorized parameter controls SSL/TLS certificate validation for the server, with true enforcing validation and false disabling it.", "force": "Use the Force option to generate a new access token even if the current token is still valid. This is useful for ensuring that your token is always fresh, especially if there are changes in scopes or permissions, or if you encounter authentication issues." }, "label": { "debug": "Debug Mode.", "grant_type": "Grant Type", "name": "Name", "container": "Container", "access_token_url": "Access Token URL", "authorization_endpoint": "Authorization Endpoint", "redirect_uri": "Redirect URI", "open_authentication": "Code", "username": "Username", "password": "Password", "client_id": "Client ID", "client_secret": "Client Secret", "access_type": "Access Type", "response_type": "Response Type", "prompt": "Prompt", "scope": "Scope", "resource": "Resource", "state": "State", "rejectUnauthorized": "Reject Unauthorized", "client_credentials_in_body": "Embedded Credentials", "proxy-config": "Proxy Configuration", "use-proxy": "Use proxy", "senderr": "Only send non-2xx responses to Catch node", "refresh_token": "Refresh Token", "force": "Force Token Refresh" }, "placeholder": { "name": "oauth2", "container": "oauth2Response", "access_token_url": "https://github.com/login/oauth/access_token", "authorization_endpoint": "https://github.com/login/oauth/authorize", "redirect_uri": "/oauth2/redirect", "open_authentication": "1b897416-3de3-4631-a0e9-7f7431e1a959", "username": "admin", "password": "admin", "client_id": "012493af6282be51660dbc8e21a8462e", "client_secret": "5621bd4b5a8b09ed31817efb8d54fda2c72bfc1c6968cd4563d83f7cc26f68f6", "access_type": "offline", "response_type": "code", "prompt": "consent", "scope": "scope", "resource": "resource", "state": "state", "rejectUnauthorized": "rejectUnauthorized", "headers": "headers", "refresh_token": "refresh_token" }, "opts": { "client_credentials": "Client Credentials", "password_credentials": "Password", "authorization_code": "Authorization Code", "implicit_flow": "Implicit Flow", "refresh_token": "Refresh Token", "set_by_credentials": "- Set by msg.oauth2Request -" } } }