diff --git a/README.md b/README.md index 6df9410..dcda64f 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ OAuth2 url for token information. ## USER_URL OAuth2 url for getting available users, the username will be appended to the end. +## TOKENINFO_URL +OAuth2 url for requestion information about a token. + ## CLIENT_ID Id of the OAuth2 application. diff --git a/rootfs/etc/confd/templates/dovecot-oauth2.token.conf.ext.tmpl b/rootfs/etc/confd/templates/dovecot-oauth2.token.conf.ext.tmpl index 412d892..4940f23 100644 --- a/rootfs/etc/confd/templates/dovecot-oauth2.token.conf.ext.tmpl +++ b/rootfs/etc/confd/templates/dovecot-oauth2.token.conf.ext.tmpl @@ -1,7 +1,7 @@ grant_url = {{ getenv "GRANT_URL" }} client_id = {{ getenv "CLIENT_ID" }} client_secret = {{ getenv "CLIENT_SECRET" }} -tokeninfo_url = {{ getenv "INTROSPECTION_URL" }} +tokeninfo_url = {{ getenv "TOKENINFO_URL" }} introspection_url = {{ getenv "INTROSPECTION_URL" }} introspection_mode = {{ getenv "INTROSPECTION_MODE" "post" }} username_attribute = username