vinit2580 commented on issue #13948:
URL: https://github.com/apache/superset/issues/13948#issuecomment-818738902


   @dpgaspar - Now i changed my superset_config.py file and have below 
configuration only.
   AUTH_TYPE = AUTH_OAUTH
   OAUTH_PROVIDERS = [
          {'name': 'okta', 'icon': 'fa-circle-o',
           'token_key': 'access_token',
           'remote_app': {
               'client_id': '0oa8hoe9t1c8LfB1z357',
               'client_secret': 'b8exxJID0BQOXlvMlQa5To5frU4EY7FX3cXDOMLM',
               'api_base_url': 'https://dev-514411.okta.com/oauth2/v1/',
               'client_kwargs': {
                   'scope': 'openid profile email groups'
               },
               'access_token_url': 
'https://dev-514411.okta.com/oauth2/v1/token',
               'authorize_url': 
'https://dev-514411.okta.com/oauth2/v1/authorize'
             }
           }
   ]
   
   It allows me to authenticate using okta but after authentication. It 
redirects me to login page with message 'Invalid login. Please try again. 
   There is no error log on console.
   
![image](https://user-images.githubusercontent.com/30068633/114560894-b7eb4080-9c8a-11eb-9064-4718cfb2d66f.png)
   
   Thanks in advance
   Vinit
   


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