Merge pull request 'master' (#403) from master into Docker
Reviewed-on: #403
This commit is contained in:
commit
6a307016ec
@ -94,11 +94,7 @@ class OAuthCallbackView(View):
|
|||||||
authentication_code = request.GET.get("code")
|
authentication_code = request.GET.get("code")
|
||||||
oauth_acces_token_url = f"{SSO_SERVER_BASE}o/token/"
|
oauth_acces_token_url = f"{SSO_SERVER_BASE}o/token/"
|
||||||
|
|
||||||
callback_url = request.build_absolute_uri(
|
callback_url = f'{BASE_URL}{reverse("oauth-callback")}'
|
||||||
reverse(
|
|
||||||
"oauth-callback"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"grant_type": "authorization_code",
|
"grant_type": "authorization_code",
|
||||||
|
Loading…
Reference in New Issue
Block a user