Ryouku commented on issue #8932: Superset to use both Local authentication plus 
OAuth authentication 
URL: 
https://github.com/apache/incubator-superset/issues/8932#issuecomment-577050300
 
 
   I think this is more generalised request/question than just change the user 
role using DB. Most applications offers at least few sign-in methods - Google 
Auth, DB Auth and similar available at the same time.
   
   What @MattSmith46 says is that he needs to have two of sign-in options 
available at the same time and the way superset is built - it does not allow 
this to happen using possible configuration options.
   
   However, if you would create a few controllers and add routes/views to them, 
I think you would be able to have sign-in forms displayed. Not sure about the 
credentials/DB handling, but you can override the logic in your custom 
security_manager and explicitly define the logic for the DB Auth (as it is 
simple user/credentials check and authentication using `login_user(user)`.
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to