馃悰: Can't authorize /api/principal #2027
Locked
jorgecarleitao
started this conversation in
Community Discussions
Replies: 1 comment 4 replies
|
Please try using the API key as a bearer token, OAuth might not work when using an external OIDC server. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What happened?
GET /api/principal using an API key results in 401 and 403, even though the token has the necessary permissions (role
tenant-admin, which includes permissionprincipal-list).This happens in 0.13.2.
How can we reproduce the problem?
results in
Error: "Error fetching Stalwart principals: 401 Unauthorized".Commenting out the fetch token line results in
Error: "Error fetching Stalwart principals: 403 Forbidden".Version
v0.13.x
What database are you using?
RocksDB
What blob storage are you using?
RocksDB
Where is your directory located?
OIDC
What operating system are you using?
Linux
Relevant log output
Code of Conduct
All reactions