GitHub user dosubot[bot] added a comment to the discussion: Superset 
authentication with Azure Entra ID

<!-- Greeting -->
Hello @Moise1! I'm here to help you solve bugs, answer questions, and assist 
with becoming a contributor. While you wait for a human maintainer, feel free 
to ask me anything!

<!-- Answer -->
I found a similar unsolved discussion regarding redirect URLs in Superset, 
which might be related to your issue. You can check it out 
[here](https://github.com/apache/superset/discussions/32883) 
<sup>[[1]](https://github.com/apache/superset/discussions/32883)</sup>.

Regarding your issue, the 502 Bad Gateway error could be related to the Nginx 
configuration or the way Superset handles cache clearing upon logout. Superset 
clears local storage upon logout, as indicated by tests in 
`RightMenu.test.tsx`, which verify that session data is removed 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/home/RightMenu.test.tsx)</sup>.
 However, if you're experiencing cache issues, it might be worth checking if 
the `proxy_cache_bypass` directive is correctly configured or if additional 
cache-related settings are needed in Nginx.

Additionally, ensure that the `post_logout_redirect_uri` parameter in your 
Azure AD configuration is correctly set to redirect users back to the login 
page after logout. This parameter can affect the logout process and subsequent 
login attempts. If the redirect URI is incorrect, it might lead to errors 
during login.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/4dc658b8-92ed-4414-be36-3c1f7d23fbf9?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33351#discussioncomment-13025163

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


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

Reply via email to