-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
comp-jans-config-apiComponent affected by issue or PRComponent affected by issue or PRkind-bugIssue or PR is a bug in existing functionalityIssue or PR is a bug in existing functionalitykind-featureIssue or PR is a new feature requestIssue or PR is a new feature request
Milestone
Description
Describe the bug
When making the request to /jans-config-api/api/v1/stat
with authorization token containing jans_stat
and https://jans.io/oauth/config/stats.readonly
scopes, getting 401 Unauthorized
.
To Reproduce
Steps to reproduce the behavior:
- Test
GET
https://{jans-hostname}/jans-config-api/api/v1/stat?month=202502&format=json
with authorization token containingjans_stat
andhttps://jans.io/oauth/config/stats.readonly
scopes - We can also introspect the authorization token to verify that the scopes required for
/jans-config-api/api/v1/stat
are present - The response is
401 Unauthorized
.
Expected behavior
The stat endpoint should work and should stat data.
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Browser Chrome, Firfox
- Flex Version : Nightly
Metadata
Metadata
Labels
comp-jans-config-apiComponent affected by issue or PRComponent affected by issue or PRkind-bugIssue or PR is a bug in existing functionalityIssue or PR is a bug in existing functionalitykind-featureIssue or PR is a new feature requestIssue or PR is a new feature request