Skip to content

Commit

Permalink
Merge pull request #93 from caputomarcos/caputomarcos-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
caputomarcos authored May 28, 2024
2 parents d9439a5 + a9efff5 commit ee89510
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,7 @@ node-red-contrib-oauth2
=================
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.

```mermaid
sequenceDiagram
participant User
participant OAuth2Node
participant OAuth2Server
User->>OAuth2Node: Sends input request
OAuth2Node->>OAuth2Node: Generate request options
alt Credentials set by input request
OAuth2Node->>OAuth2Server: POST request with input credentials
else Credentials set by configuration
OAuth2Node->>OAuth2Server: POST request with configured credentials
end
OAuth2Server-->>OAuth2Node: Returns token
OAuth2Node->>OAuth2Node: Add token to output
OAuth2Node->>User: Sends output response
```
![image](https://github.com/caputomarcos/node-red-contrib-oauth2/assets/3945941/89f59f17-cebe-4c82-8ffd-e7c196222d65)

# Install

Expand Down

0 comments on commit ee89510

Please sign in to comment.