-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.0 Okta log-in results in 500 for new users: AttributeError: 'NoneType' object has no attribute 'is_active' #28188
Comments
I am going to close this for now. I think this might have been a process issue with the upgrade steps we were taking. Let me close this while I spend some time on this today/tomorrow. |
Yeah, I was able to track this down. User session works fine from incognito mode. I guess it has more to do with a left over session of some sort from a previous install. I was also able to repeat this issue in 3.0.x and 3.1.0. So, no real issue other than a dirty session from a previous install. |
thank you, I had the same issue, your comment made me to login via incognito mode and realize it was wrong something with previous session. |
Hi @LyleScott, facing the same issue here when trying to access superset in the same browser (and session) after a helm upgrade. |
++ Solved |
++ Solved for my case too. |
Hi @Yuval-Moshe I am having the same issue doing a rolling update - do you have any idea how to solve it? |
I think I found the issue. So user logged in - a superset user was created in the DB (ab_user). |
Encountering this as well. I think this should not be closed but reported to FAB since it seems to be an issue with FAB and Flask Login here: FAB seems to just assume that whatever user is provided can be loaded but if the user is read by Flask Login from a cookie, then |
CC @dpgaspar |
Thanks. I opened an issue here: |
Bug description
We have Okta auth code that worked fine in Superset 2.x and 3.x, but 4.0.0 seems to exhibit an issue I've not yet been able to trace down where an Okta log in results in a 500 for new users that would normally get created as a result of the log in.
How to reproduce the bug
Screenshots/recordings
No response
Superset version
4.0.0
Python version
3.10
Node version
Not applicable
Browser
Not applicable
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: