diff options
author | Robert Newson <rnewson@apache.org> | 2020-09-21 20:21:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 20:21:48 +0100 |
commit | c2c282204978ecbf7034b8f89b7260f3a3e6116e (patch) | |
tree | cf90ec236fa6e31bfbf106d148adcff271d50673 /rel | |
parent | 44204af782ffac64e6e3e48e7cc68dd1a4659348 (diff) | |
download | couchdb-c2c282204978ecbf7034b8f89b7260f3a3e6116e.tar.gz |
feat(auth): Allow a custom JWT claim for roles (#3166)
Co-authored-by: mauroporras <mauroporrasc@gmail.com>
Diffstat (limited to 'rel')
-rw-r--r-- | rel/overlay/etc/default.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 1a7a02108..f2bf12f54 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -148,6 +148,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 = https://example.com/roles ; ; [jwt_keys] ; Configure at least one key here if using the JWT auth handler. |