Extend token-based security doc with optiview claim#634
Open
kamil-al wants to merge 2 commits into
Open
Conversation
Contributor
|
87ad32c to
f5b087e
Compare
MattiasBuelens
requested changes
May 9, 2026
Collaborator
MattiasBuelens
left a comment
There was a problem hiding this comment.
Run Prettier with npm run format
MattiasBuelens
approved these changes
May 11, 2026
frankforpresident
requested changes
May 11, 2026
|
|
||
| When a token is rejected, the CDN returns one of the following error codes: | ||
|
|
||
| | Code | Description | |
There was a problem hiding this comment.
Do not add the error codes to the docs. Please rebase and force push the commit
| ``` | ||
|
|
||
| ### Tracking token usage in Lens | ||
|
|
There was a problem hiding this comment.
Please remove any references to lens.
| The token is signed with a shared secret (HS256/HS512) or a public/private key pair (RS256/RS512) that you provide when enabling the feature. | ||
|
|
||
| ```http | ||
| Authorization: Bearer <JWT> |
There was a problem hiding this comment.
maybe also add the query parameter method?
?token=<jwt>
| | --- | --- | --- | | ||
| | `sub` | string | Subject. If present, a SHA-256 hash of this value is used as the viewer identity in analytics. | | ||
| | `iss` | string | Issuer. Identifies the system that created the token. | | ||
| | `aud` | string | Audience. Identifies the intended recipients of the JWT per [RFC 7519 §4.1.3](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3). See [Tracking token usage in Lens](#tracking-token-usage-in-lens). | |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.