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 2020/06/03 21:39:25 UTC
[GitHub] [couchdb] mauroporras commented on a change in pull request #2914: feat(auth): Allow a custom JWT claim for roles
mauroporras commented on a change in pull request #2914:
URL: https://github.com/apache/couchdb/pull/2914#discussion_r434873037
##########
File path: rel/overlay/etc/default.ini
##########
@@ -145,6 +145,7 @@ max_db_number_for_dbs_info_req = 100
; can be the name of a claim like "exp" or a tuple if the claim requires
; a parameter
; required_claims = exp, {iss, "IssuerNameHere"}
+; roles_claim_name = my_custom_claim_containing_roles_array
Review comment:
It's the value of the claim the one that actually contains the roles arra, just like in https://docs.couchdb.org/en/stable/api/server/authn.html#jwt-authentication
Do you have any better suggestion? Thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org