pr0base commented on issue #14206:
URL: https://github.com/apache/superset/issues/14206#issuecomment-825606881


   token request is now working. the click is working on the login page when i 
first click on my custom icon and then select sign in
   
![image](https://user-images.githubusercontent.com/33983292/115867323-3f7b4100-a43b-11eb-9e8c-7f300045873d.png)
   
   No I receive the following error 
   `{"errors": [{"message": "argument of type 'NoneType' is not iterable", 
"error_type": "GENERIC_BACKEND_ERROR", "level": "error", "extra": 
{"issue_codes": [{"code": 1011, "message": "Issue 1011 - Superset encountered 
an unexpected error."}]}}]}`
   
   which reflects on the superset logs as 
   
   `
   
CTNVYh75SZf7seA2Ncy8vusRYondT6FHrWB8QAAAAEcBuJO1CdpP9CM31FMvY6y1rUt8og-yRnCte2lvb5kg67aK1MpO_EbyCSDiIo1HhBdRbRfHQvbAgS1EvcUFU0nMa-wFGSEkg8e8Ddzfh8l3H948xVQgdvCY-vAdFAum3LA5YRjnoPtL4EtGJ_L95EB-wX0MvE8eOj9Db0NTlfHRXUYG9ub90A5xk7tQr4dqSb-CoXN0NHp2lHBmOUK9BwjcoXLMJIBzkkr4179msai3Qy2qnONAt3_tdlEldVhlJACVmlvib61VlXXM3yLBOm5b7akRVKCcZ1AsW91yDPHBbTSf07tVu0A2aTVSHfyojE',
 'state': 
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuZXh0IjpbIiJdfQ.fdfto7RZFzoca-BIwMaXI9t-jsGjhSPMH_ltWoj85-Y',
 'redirect_uri': 'http://172.50.20.10:8088/oauth-authorized/myprovider'}
   superset_app             | 2021-04-23 
11:53:25,785:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 
myprovider:443
   superset_app             | 2021-04-23 
11:53:26,737:DEBUG:urllib3.connectionpool:https://myprovider:443 "POST 
/OAuth2/Token HTTP/1.1" 200 942
   superset_app             | 2021-04-23 11:53:26,740:DEBUG:root:Oauth2 
provider: myprovider.
   superset_app             | 2021-04-23 
11:53:26,740:ERROR:root:CustomSsoSecurityManager - Error: <class 
'requests.exceptions.MissingSchema'>
   superset_app             | 2021-04-23 
11:53:26,741:WARNING:superset.views.base:argument of type 'NoneType' is not 
iterable
   
   `
   
   So now the error is clearly in my custom security manager. Currently 
reviewing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to