await sdk
// whoami() returns the session belonging to the session_token:
.toSession({ xSessionToken: auth.session_token, tokenizeAs: "jwt_template" })
But it doesn't seem to be setting the tokenize_at query param so it's not giving me back the expected JWT. If I convert this to a simple fetch it works as expected.
Preflight checklist
Ory Network Project
No response
Describe the bug
Using react native I'm trying to use
But it doesn't seem to be setting the tokenize_at query param so it's not giving me back the expected JWT. If I convert this to a simple fetch it works as expected.
Reproducing the bug
https://github.com/ory/kratos-selfservice-ui-react-native/tree/master
Switch to using JWTs for auth.
Relevant log output
No response
Relevant configuration
No response
Version
1.4.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Ory Network
Additional Context
No response