Add new redirect page
This commit is contained in:
parent
a2622d7c5b
commit
61b4e91d67
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue