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 2018/05/18 06:54:06 UTC

[GitHub] Maxwell2022 opened a new issue #5033: [question] Is it possible to have multiple authentication type?

Maxwell2022 opened a new issue #5033: [question] Is it possible to have multiple authentication type?
URL: https://github.com/apache/incubator-superset/issues/5033
 
 
   ### Superset version
   `0.25.2`
   
   I'm embedding superset in an iframe for a client product. When loading the iframe, I pass the user token and validate this token in y authenticator then log the user in. That's working great no issues.
   
   I'm new to python and I'm struggling to understand how it's working. I've setup my custom authenticator overriding the `/login/` route using the expose decorator `@expose('/login/')`.
   
   I tried to change this to `@expose('/remote-login/')` so that I could still access the `login` and get the form. But this is not working because I've set the `AUTH_TYPE = AUTH_REMOTE_USER` so it's only using this remote authenticator I guess.
   
   Is there any way to create a specific route for my remote authenticator and keep the default login form?
   
   Cheers, 
   Maxime
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

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