Bonifacio-Oliveira commented on issue #13948:
URL: https://github.com/apache/superset/issues/13948#issuecomment-856228961


   In my case, the server side has the following logs:
   ```
   2021-06-07 
20:13:57,993:DEBUG:authlib.integrations.base_client.base_app:Saving authorize 
data: {'redirect_uri': 'http://localhost:8088/oauth-authorized/okta', 'nonce': 
'---', 'url': 
'https://dev-428334.okta.com/oauth2/v1/authorize?response_type=code&client_id=<a-client-id>&redirect_uri=http%3A%2F%2Flocalhost%3A8088%2Foauth-authorized%2Fokta&scope=openid+profile+email+groups&state=<a-jwt>&nonce=<a-nonce>',
 'state': '<a-jwt>'}
   172.18.0.1 - - [07/Jun/2021:20:13:57 +0000] "GET /login/okta?next= HTTP/1.1" 
302 913 "http://localhost:8088/login/"; "Mozilla/5.0 (Macintosh; Intel Mac OS X 
10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 
Safari/537.36"
   2021-06-07 
20:13:58,973:DEBUG:authlib.integrations.base_client.base_app:Retrieve temporary 
data: {'code': '---', 'state': '<a-jwt>', 'redirect_uri': 
'http://localhost:8088/oauth-authorized/okta'}
   2021-06-07 20:13:58,975:DEBUG:urllib3.connectionpool:Starting new HTTPS 
connection (1): dev-428334.okta.com:443
   2021-06-07 
20:14:00,151:DEBUG:urllib3.connectionpool:https://dev-428334.okta.com:443 "POST 
/oauth2/v1/token HTTP/1.1" 200 None
   2021-06-07 20:14:00,154:INFO:root:Oauth2 provider: okta.
   2021-06-07 20:14:00,156:DEBUG:urllib3.connectionpool:Starting new HTTPS 
connection (1): dev-428334.okta.com:443
   2021-06-07 
20:14:01,026:DEBUG:urllib3.connectionpool:https://dev-428334.okta.com:443 "GET 
/oauth2/v1/userDetails HTTP/1.1" 405 None
   2021-06-07 20:14:01,029:ERROR:flask_appbuilder.security.views:Error 
returning OAuth user info: 'Response' object has no attribute 'data'
   172.18.0.1 - - [07/Jun/2021:20:14:01 +0000] "GET 
/oauth-authorized/okta?code=zwHoTZeVMl4qlAZ7NPVbTPp-dxnSdzX3kQUyKsyY0z0&state=<a-jwt>
 HTTP/1.1" 302 221 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
   172.18.0.1 - - [07/Jun/2021:20:14:01 +0000] "GET /login/ HTTP/1.1" 200 24440 
"-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/90.0.4430.212 Safari/537.36"
   ```


-- 
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