Skip to content

Commit

Permalink
add saml url for redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-bearabbit committed Nov 24, 2023
1 parent c6ee29f commit 4afbe1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/core/src/desktop/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def process_view(self, request, view_func, view_args, view_kwargs):
access_log_level = getattr(view_func, 'access_log_level', None)

# Skip loop for oidc
if request.path in ['/oidc/authenticate/', '/oidc/callback/', '/oidc/logout/', '/hue/oidc_failed/']:
if request.path in ['/oidc/authenticate/', '/oidc/callback/', '/oidc/logout/', '/hue/oidc_failed/', '/saml2/login/', '/saml2/logout/', '/accounts/logout/']:
return None

if AUTH.AUTO_LOGIN_ENABLED.get() and request.path.startswith('/api/v1/token/auth'):
Expand Down

0 comments on commit 4afbe1e

Please sign in to comment.