Compare commits
No commits in common. "9e762584dc0d63d7a08a49bd5c3d9925a44a4b34" and "decf0dc5224c6725f46536414a5d937ccf83fe76" have entirely different histories.
9e762584dc
...
decf0dc522
@ -94,7 +94,11 @@ 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 = f'{BASE_URL}{reverse("oauth-callback")}'
|
callback_url = request.build_absolute_uri(
|
||||||
|
reverse(
|
||||||
|
"oauth-callback"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"grant_type": "authorization_code",
|
"grant_type": "authorization_code",
|
||||||
|
Loading…
Reference in New Issue
Block a user