MalavikaN1 opened a new issue, #29523: URL: https://github.com/apache/superset/issues/29523
### Bug description Role is mandatory when default superset login is used. But when using OAuth Login, the role becomes optional for a user. This in turn leads to 500 Internal Server Error when a user that has no role logins to superset. ### How to reproduce the bug 1. Configure superset to use any other OAuth login. 2. Go to List Users and change the role of any user to None and then save it. 3. Login using that user whose role has been removed. 4. Notice 500 Internal Server Error. ### Screenshots/recordings _No response_ ### Superset version 3.1.3 ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
