Add documentation for enable-authorization-header
This commit is contained in:
parent
cdf9c4dbf3
commit
a4f08465be
1 changed files with 2 additions and 0 deletions
|
@ -271,6 +271,8 @@ if r.config.EnableAuthorizationHeader {
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
|
To control the `Authorization` header use the `enable-authorization-header` yaml configuration or the `--enable-authorization-header` command line option. By default this option is set to `true`.
|
||||||
|
|
||||||
==== Custom claim headers
|
==== Custom claim headers
|
||||||
|
|
||||||
You can inject additional claims from the access token into the authorization headers with the `--add-claims` option. For example, a token from a {project_name} provider might include the following claims:
|
You can inject additional claims from the access token into the authorization headers with the `--add-claims` option. For example, a token from a {project_name} provider might include the following claims:
|
||||||
|
|
Loading…
Reference in a new issue