Skip to content

After user logged out, getting Internal Server Error in browser #33609

Open
@nagarajmmu

Description

@nagarajmmu

Bug description

Hi All

We are using superset 4.1.1
We are facing issue, when user logout, user will get Internal Server Error in browser.

Until user clear the browser Cookie and Cache user not able to re-login, once browser Cookie and Cache cleared, user able to re-login.
Same issue happens when user not using superset for a long time in browser.

Steps to reproduce.:

  1. Config superset as below:
    a. Integrate auth login with Azure AD
    b. Provide AUTH_ROLE_PUBLIC = 'NoAccess' (NoAccess role does not have any permissions)
    c. Deploy superset in Kubernetes with helm.
  2. user login to superset, very thing works fine.
  3. Once user logged out, user will get Internal Server Error in browser.
  4. User should clear browser Cookie and Cache to re-login again.

Please let us know, how we can resolve this issue.
As of now we didn't observe error in the logs when user logged out.

Please let us know, how we can resolve this issue.

Error screenhot:

Image

Thanks
Nagaraj M M

Screenshots/recordings

Error screenshot:

Image

Superset version

master / latest-dev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authentication:ssoSingle Sign Onglobal:errorRelated to global errors affecting the platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions