You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/10/17 09:48:29 UTC

[GitHub] [couchdb] vphpersson opened a new issue, #4215: Suggestion: Mention the `roles_claim_name` setting for `jwt_auth`

vphpersson opened a new issue, #4215:
URL: https://github.com/apache/couchdb/issues/4215

   I have been using the documentation at https://docs.couchdb.org/en/3.2.2/api/server/authn.html#jwt-authentication as a reference when implementing a JWT authentication flow. Currently, the documentation gives the impression that the private claim that is used for role-based authentication must be called `_couchdb.roles`, but looking at the code at https://github.com/apache/couchdb/blob/main/src/couch/src/couch_httpd_auth.erl#L240, I found that there is a setting called `roles_claim_name` that lets one choose the name to use. It seems to have been added in version 3.2.0 (https://docs.couchdb.org/en/3.2.0/whatsnew/3.2.html?highlight=roles_claim_name#features-and-enhancements).
   
   My suggestion is that the `roles_claim_name` setting is documented in the JWT Authentication section (the first link).
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] big-r81 commented on issue #4215: Suggestion: Mention the `roles_claim_name` setting for `jwt_auth`

Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4215:
URL: https://github.com/apache/couchdb/issues/4215#issuecomment-1290107775

   Fixed by #4232.


-- 
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


[GitHub] [couchdb] big-r81 closed issue #4215: Suggestion: Mention the `roles_claim_name` setting for `jwt_auth`

Posted by GitBox <gi...@apache.org>.
big-r81 closed issue #4215: Suggestion: Mention the `roles_claim_name` setting for `jwt_auth`
URL: https://github.com/apache/couchdb/issues/4215


-- 
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