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
Add a login page with authentication #33
Comments
Good idea. Thanks |
Just for reference the OAuth is described here https://panel.holoviz.org/user_guide/Authentication.html. I've not tried using it yet. |
I am trying to enable OAuth2 authentication (based on Panel docs), but aside from redirecting to
Can suggest where should I continue digging? |
Ok, have some progress - you should replace: in
with
Otherwise, the code is meaningless |
The whole part of overriding |
I tested the setup with Auth0 and it works! Here is an Auth0 implementation I added - holoviz/panel#1934 I can also create a PR for my changes in your code if you want |
Regarding the Auth0 the best thing would to get it released in Panel. If I could get a contribution of a log in page that uses the Panel functionality, then we could showcase to Philipp that it works, is used and needed. That would help him I think get it into Panel I think. The alternative of contributing the implementation here and removing it when it's released with Panel is also fine with me. What do you think? I have close to zero experience with auth implementations - but it's very important and need to learn to do it :-) Regarding the custom |
I've contributed a PR to Panel for the
Please comment or upvote the FR. That might help get the improvements in. Thanks. |
Cool! I'll take a look. Auth0 is merged to Panel also. Thanks! |
Is your feature request related to a problem? Please describe.
awesome-panel allows building real web apps with Python - which is a huge deal! Any modern app usually requires a login/authentication mechanism.
Describe the solution you'd like
Add optional support for creating a login page with username and password / Oauth2
The text was updated successfully, but these errors were encountered: