You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/01 21:11:19 UTC
[GitHub] [superset] fmaritato opened a new issue #14936: Redirect to /login page if not logged in?
fmaritato opened a new issue #14936:
URL: https://github.com/apache/superset/issues/14936
**Is your feature request related to a problem? Please describe.**
We use okta for authentication, but right now, you have to know to click the login link in the upper right before you can access any dashboards. It's super confusing to our non-technical people who just get a link to a dashboard because it just shows a bunch of errors if they arent logged in.
**Describe the solution you'd like**
Is there a way to force superset to redirect to the /login page if they are not logged in?
I am using a custom superset_config.py and custom_sso_security_manager.py for okta anyway, maybe there is some way to accomplish this in there?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] nytai commented on issue #14936: Redirect to /login page if not logged in?
Posted by GitBox <gi...@apache.org>.
nytai commented on issue #14936:
URL: https://github.com/apache/superset/issues/14936#issuecomment-852452959
You should be able to achieve this with the custom security manager. I'm not sure how you're loading the user, but it should be simple to add a redirect in that method if no user is found.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] junlincc closed issue #14936: Redirect to /login page if not logged in?
Posted by GitBox <gi...@apache.org>.
junlincc closed issue #14936:
URL: https://github.com/apache/superset/issues/14936
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org