Skip to content

Commit

Permalink
Add warning about provider not following OAuth2 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Nov 27, 2024
1 parent f155447 commit b732ae7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

A strategy to use and implement OAuth2 framework for authentication with federated services like Google, Facebook, GitHub, etc.

> [!WARN]
> This strategy expects the identity provider to strictly follow the OAuth2 specification. If the provider does not follow the specification and diverges from it, this strategy may not work as expected.
## Supported runtimes

| Runtime | Has Support |
Expand Down Expand Up @@ -86,7 +89,7 @@ authenticator.use(
let tokens = await strategy.refreshToken(user.refreshToken);
```

### Revoking tokens
### Revoking Tokens

You can revoke the access token the user has with the provider.

Expand Down

0 comments on commit b732ae7

Please sign in to comment.