You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ronnieroyston (via GitHub)" <gi...@apache.org> on 2023/07/03 03:15:24 UTC
[GitHub] [couchdb] ronnieroyston commented on issue #4661: JWT Authenticated Users Not Allowed To Act As Server Admins
ronnieroyston commented on issue #4661:
URL: https://github.com/apache/couchdb/issues/4661#issuecomment-1617159413
Upon further troubleshooting it works if you add "_admins" to the `roles` included in the JWT payload. Closing this issue.
JWT Payload Data
```
{
"exp": 1690983653708,
"iss": "nodejs",
"roles": [
"member",
"_admin"
],
"sub": "0428c67f-0c5d-4201-862f-71c1661f917f"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org