-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
637 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo | |
|
||
This feature works by passing the `checkDatabase` option when verifying the session as shown below. | ||
|
||
:::caution | ||
For managed service users, please check [our rate limit policy](../../rate-limits) before implementing this feature. If you suspect that you will breach the free limit you can: | ||
- [Email us](mailto:[email protected]) to increase your rate limit. | ||
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing. | ||
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis. | ||
::: | ||
|
||
## Using the `verifySession` middleware | ||
|
||
<BackendSDKTabs> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.