diff --git a/hiboo/application/templates/application_seafile.html b/hiboo/application/templates/application_seafile.html index b59e7d5e7a3779bee785a6d4edf75455f3f2ce50..e936095bea21201409458065dd10dc138cdb7bd9 100644 --- a/hiboo/application/templates/application_seafile.html +++ b/hiboo/application/templates/application_seafile.html @@ -8,7 +8,7 @@ OAUTH_ENABLE_INSECURE_TRANSPORT = True OAUTH_CLIENT_ID = "{{ service.config["client_id"] }}" OAUTH_CLIENT_SECRET = "{{ service.config["client_secret"] }}" OAUTH_REDIRECT_URL = "{{ service.config["redirect_uris"][0] }}" -OAUTH_PROVIDER_DOMAIN = "{{ url_for('/', _external=True).split(':')[1].split('/')[0] }}" +OAUTH_PROVIDER_DOMAIN = "{{ url_for('account.home', _external=True).split(':')[1].split('/')[0] }}" OAUTH_AUTHORIZATION_URL = "{{ url_for("sso.oidc_authorize", service_uuid=service.uuid, _external=True) }}" OAUTH_TOKEN_URL = "{{ url_for("sso.oidc_token", service_uuid=service.uuid, _external=True) }}" OAUTH_USER_INFO_URL = "{{ url_for("sso.oidc_userinfo", service_uuid=service.uuid, _external=True) }}"