You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": {
"code": 401,
"status": "Unauthorized",
"reason": "No valid session credentials found in the request.",
"message": "The request could not be authorized"
}
}
{
"error": {
"code": 401,
"status": "Unauthorized",
"reason": "No valid session credentials found in the request.",
"message": "The request could not be authorized"
}
}
Same question here? any update for this issue? @tamtakoe Did you solve the issue?
Update:
this document explain exactly how to get/use session token
alnr
changed the title
/sessions/whoami cannot authorise by session token, only by session cookies
/sessions/whoami cannot authorise a JWT-tokenized sessions
Nov 27, 2024
Preflight checklist
Ory Network Project
No response
Describe the bug
http://localhost:4433/sessions/whoami returns 401 if I'm using session token instead of cookie
Reproducing the bug
tokenized
field of previous responseRelevant log output
Version
oryd/kratos:v1.2.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response
The text was updated successfully, but these errors were encountered: