79188567

Date: 2024-11-14 11:39:13
Score: 1.5
Natty:
Report link

To bypass the Superset login you can extend the AuthOAuthView.login method to check if provider is None, and if there’s only one OAuth provider, assign it directly. Then you can define a custom security manager that uses this modified AuthOAuthView.

You can see the code for how to do it in this Github comment

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: coda