Documentation is wrong for creating JWT
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- documentation
Direzione di ricerca
Inizia dalle righe referenziate di code-examples/sdk/typescript/src/session/whoami-jwt.ts e confrontale con la documentazione identities/session-to-jwt-cors. Verifica i nomi tokenizeAs e session.data.tokenized e determina se sessionId è necessario. Il lavoro è completato quando l’esempio TypeScript e la documentazione pubblicata utilizzano l’API client Ory corrente e funzionano seguendoli.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe the bug
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
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.
- Lingua principale
- TypeScript
- Stelle
- 161
- Fork
- 1.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ory/docs
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
good first issue help wanted upstream
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
good first issue help wanted upstream
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
-
Shared kratos pages can only belong to one sidebar — OEL readers lose navigation contextForse di nuovo libera @hperl l’ha presa 78 giorni fa e non c’è nessuna pull request aperta. Aperta
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
supabase/agent-skills#611 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
polka-codes/test#345 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
GoogleChromeLabs/project-sesame#217 ·
I maintainer di solito rispondono entro 12 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
solana-foundation/solana-com#2202 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100