From 72368aa99c7f5228c11ad1503b1c992f4eac427e Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 12 May 2021 18:24:43 +0200 Subject: [PATCH] Change guessBaseURL() with fullURL() --- pkg/options/auth.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/options/auth.yaml b/pkg/options/auth.yaml index 4900f8bf9..eb679f450 100644 --- a/pkg/options/auth.yaml +++ b/pkg/options/auth.yaml @@ -29,7 +29,7 @@ props: description: Experation time for the auth JWT tokens. - name: externalRedirectURL - default: guessBaseURL() + "/auth/external/{provider}/callback" + default: fullURL() + "/auth/external/{provider}/callback" description: |- Redirect URL to be sent with OAuth2 authentication request to provider @@ -47,7 +47,7 @@ props: ==== - name: baseURL - default: guessBaseURL() + "/auth" + default: fullURL() + "/auth" description: |- Frontend base URL. Must be an absolute URL, with the domain. This is used for some redirects and links in auth emails.