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