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

Documentation is wrong for creating JWT #1633

Open
3 of 5 tasks
Klaven opened this issue Jan 26, 2024 · 0 comments
Open
3 of 5 tasks

Documentation is wrong for creating JWT #1633

Klaven opened this issue Jan 26, 2024 · 0 comments
Labels
bug Something is not working.

Comments

@Klaven
Copy link

Klaven commented Jan 26, 2024

Preflight checklist

Ory Network Project

No response

Describe the bug

tokenize_as: "jwt_example_template1",

I think this is the code backing https://www.ory.sh/docs/identities/session-to-jwt-cors

tokenize_as should be tokenizeAs

and then two lines down should be session.data.tokenized

I would just open a PR with the update but I think maybe someone should go over this as it seems that sessionId is getting passed in for no reason? So maybe there are more issues? Anyhow while I can update it to get it "working" a person with a little bit more knowledge would probably be best looking though it just to make sure everything is up to date.

Thanks!

Reproducing the bug

Follow the documentation found here https://www.ory.sh/docs/identities/session-to-jwt-cors

Relevant log output

none

Relevant configuration

just the ORY network config as describe in the docs in this file.

Version

ory/[email protected]

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

I'm happy to provide more information, I assumed the docs would mirror the latest cli.

@Klaven Klaven added the bug Something is not working. label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant