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

IAM: Token introspect returns error 500 for unknown tokens #2778

Closed
reinkrul opened this issue Feb 6, 2024 · 0 comments · Fixed by #2847
Closed

IAM: Token introspect returns error 500 for unknown tokens #2778

reinkrul opened this issue Feb 6, 2024 · 0 comments · Fixed by #2847
Assignees
Labels
bug Something isn't working

Comments

@reinkrul
Copy link
Member

reinkrul commented Feb 6, 2024

E.g.:

POST http://localhost:1323/internal/auth/v2/accesstoken/introspect
Content-Type: application/x-www-form-urlencoded
Content-Length: 9
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.9)
Accept-Encoding: br,deflate,gzip,x-gzip

token=123

returns:

HTTP/1.1 500 Internal Server Error
Content-Type: application/problem+json
Vary: Origin
Date: Tue, 06 Feb 2024 16:11:28 GMT
Content-Length: 74

{
  "detail": "not found",
  "status": 500,
  "title": "IntrospectAccessToken failed"
}

I'd expect a response according to RFC7662 (active field)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant