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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to