Add new redirect page

This commit is contained in:
Christian Cueni 2022-04-14 11:28:10 +02:00
parent a2622d7c5b
commit 61b4e91d67
2 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ OAUTH = {
"access_token_url": env("OAUTH_ACCESS_TOKEN_URL", default="https://sso.test.b.lernetz.host/auth/realms/vbv/protocol/openid-connect/token"),
"authorize_url": env("OAUTH_AUTHORIZE_URL", default="https://sso.test.b.lernetz.host/auth/realms/vbv/protocol/openid-connect/auth"),
"api_base_url": env("OAUTH_API_BASE_URL", default="https://sso.test.b.lernetz.host/auth/realms/vbv/protocol/openid-connect/"),
"local_redirect_uri": env("OAUTH_LOCAL_DIRECT_URI", default="http://localhost:8000/sso/callback/"),
"local_redirect_uri": env("OAUTH_LOCAL_DIRECT_URI", default="http://localhost:3000/sso/callback/"),
"client_kwargs": {
'scope': '',
'token_endpoint_auth_method': 'client_secret_post',

View File

@ -10,7 +10,7 @@ from vbv_lernwelt.sso.jwt import decode_jwt
logger = logging.getLogger(__name__)
OAUTH_REDIRECT = 'oauth-redirect'
OAUTH_REDIRECT = 'profile'
def login(request):