authcrunch / authcrunch.github.io

Documentation for Caddy v2 Auth Portal and Authorize Plugins.
79 stars 32 forks source link

authenticate: custom claims via user transforms #5

Closed greenpau closed 2 years ago

greenpau commented 2 years ago

Document custom claim injection:

transform user {
    match origin local
    action add _couchdb.roles _admin as string list
}
greenpau commented 2 years ago

This is complete in https://authp.github.io/docs/authenticate/user-transforms#inject-custom-claims