Skip to content
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

Modernizing Logout Handling replacing doc.Logoutbutton with a React-Based solution #3137

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

SHRISHTISHUKLA-0
Copy link

@SHRISHTISHUKLA-0 SHRISHTISHUKLA-0 commented Jan 29, 2025

here removed dcc.LogoutButton and Implement a standard react for logout
use fetch API for logout request here improved UX and error handling and added an onLogout callback.

correct me where I am wrong and help me to know more about issue.

@ndrezn
Copy link
Member

ndrezn commented Jan 29, 2025

We're planning to remove dcc.LogoutButton, see: #2894. I don't think it is worth updating the button to work differently -- I would err on letting developers use their own strategies here, or leverage Dash Enterprise Auth in a business context. @T4rk1n might have a differing opinion though.

@SHRISHTISHUKLA-0
Copy link
Author

We're planning to remove dcc.LogoutButton, see: #2894. I don't think it is worth updating the button to work differently -- I would err on letting developers use their own strategies here, or leverage Dash Enterprise Auth in a business context. @T4rk1n might have a differing opinion though.

yes!! I have seen @ann-marie-ward comment before making this PR here I removed dcc.LogoutButton too can you help to understand this issue clearly .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants