Skip to content

Commit 66c3c04

Browse files
default authorization header (cloudflare#21828)
1 parent 8d7f4fb commit 66c3c04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/partials/api-shield/session-identifiers.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ While not strictly required, it is recommended that you configure your <Glossary
1010
If you are unsure of the session identifiers that your API uses, consult with your development team.
1111

1212
Session identifiers should uniquely identify API clients. A common session identifier for API traffic is the `Authorization` header. When a [JSON Web Token (JWT)](/api-shield/security/jwt-validation/) is used by the API for client authentication, its value may change over time. You can use a claim value inside the JWT such as `sub` or `email` as a session ID to uniquely identify the session over time.
13+
14+
If your API uses the `Authorization` header on more than 1% of successful requests to your zone, Cloudflare will automatically set it as the API Shield session identifier.

0 commit comments

Comments
 (0)