Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description of embedded tokens omits embedded JWT case #2286

Open
paddybyers opened this issue Oct 5, 2024 · 1 comment
Open

Description of embedded tokens omits embedded JWT case #2286

paddybyers opened this issue Oct 5, 2024 · 1 comment
Labels
bug A broken link, image etc

Comments

@paddybyers
Copy link
Member

In https://ably.com/docs/auth/token#embedded it explains how a token may be embedded as a claim within some other JWT. However, the description says that only Ably tokens can be embedded - these are defined elsewhere as being Ably native tokens (ie system-issued via requestToken(). However, it is also possible to embed JWTs. The text needs updating to reflect this.

@mattheworiordan
Copy link
Member

Paddy has created a code example at https://gist.github.com/paddybyers/ce0b315471619568e6ce63944b06bc45. I think it's important we include a code example for both an Ably Token and Ably JWT Token

@mattheworiordan mattheworiordan added the bug A broken link, image etc label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A broken link, image etc
Development

No branches or pull requests

2 participants