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

Feature request: timeout for cookies #2722

Closed
arifin-chemist89 opened this issue Sep 8, 2021 · 1 comment
Closed

Feature request: timeout for cookies #2722

arifin-chemist89 opened this issue Sep 8, 2021 · 1 comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Milestone

Comments

@arifin-chemist89
Copy link

arifin-chemist89 commented Sep 8, 2021

This is one of the follow up of the authentication issue discussed in https://discourse.holoviz.org/t/tips-guide-on-creating-a-simple-username-password-auth-for-panel-app/2582.

Is your feature request related to a problem? Please describe.

I am using authentication to keep my app secure. However, since there is no expiration of the cookies in Panel, the user could directly access the app and bypass the login page after it is authenticated.

Describe the solution you'd like

It is better to have configurable cookies timeout in Panel.

Describe alternatives you've considered

Another way is to clear cookies on_session_destroyed

@philippjfr philippjfr added the type: enhancement Minor feature or improvement to an existing feature label Sep 8, 2021
@philippjfr philippjfr added this to the 0.13.0 milestone Sep 8, 2021
@philippjfr
Copy link
Member

This was implemented in #2724.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants