Skip to content

audience added to token#29

Merged
YaroslavLitvinov merged 3 commits into
mainfrom
yaro/fix-token-aud
Nov 21, 2025
Merged

audience added to token#29
YaroslavLitvinov merged 3 commits into
mainfrom
yaro/fix-token-aud

Conversation

@YaroslavLitvinov
Copy link
Copy Markdown
Contributor

We use host as an audience claim in jwt token.
Host taken directly from headers, at creation and on verification stages.
This guarantee that token generated by some server can't not be used with any embucket... in case if non unique secrets used.

@DanCodedThis
Copy link
Copy Markdown
Contributor

@YaroslavLitvinov did you test it on lambdas?

@YaroslavLitvinov
Copy link
Copy Markdown
Contributor Author

@YaroslavLitvinov did you test it on lambdas?

mostly on lambdas

@YaroslavLitvinov YaroslavLitvinov merged commit 2291b83 into main Nov 21, 2025
3 checks passed
@YaroslavLitvinov YaroslavLitvinov deleted the yaro/fix-token-aud branch November 21, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants