Skip to content

Commit daa9f5c

Browse files
committed
adds a caution block to access token blacklisting
1 parent a224e73 commit daa9f5c

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

v2/emailpassword/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

v2/passwordless/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

v2/session/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

v2/thirdparty/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

v2/thirdpartyemailpassword/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

v2/thirdpartypasswordless/common-customizations/sessions/access-token-blacklisting.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ If you want session verifications to fail immediately after the session has revo
2222

2323
This feature works by passing the `checkDatabase` option when verifying the session as shown below.
2424

25+
:::caution
26+
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:
27+
- [Email us](mailto:[email protected]) to increase your rate limit.
28+
- Use the `checkDatabase` flag only on certain important APIs. For example, omit using it in any `GET` API as those are not state changing.
29+
- Implement your own method for keeping track of revoked access tokens by using a cache like Redis.
30+
:::
31+
2532
## Using the `verifySession` middleware
2633

2734
<BackendSDKTabs>

0 commit comments

Comments
 (0)