doc: clarify behavior of token_endpoint parameter

Add language explaining the token_endpoint parameter is actually
optional and what happens when included or omitted.

Signed-off-by: Sean Stiglitz <stigz+sr.ht@netsplit.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Sean Stiglitz 2022-08-21 10:10:49 -07:00 committed by Robin Jarry
parent db39ca181a
commit 23639acd50

View file

@ -40,10 +40,12 @@ available:
*oauth2_params:*
If specified, the configured password is used as an refresh token that
is exchanged with an access token
If specified and a token_endpoint is provided, the configured password
is used as a refresh token to obtain an access token. If token_endpoint
is omitted, refresh token exchange is skipped, and the password acts
like an access token instead.
- token_endpoint (required)
- token_endpoint (optional)
- client_id (optional)
- client_secret (optional)
- scope (optional)