Auth: Add support for forcing authentication in anonymous mode and modify SignIn to use it instead of redirect (#25567) * Forbid additional redirect urls * Optionally force login in anonymous mode * Update LoginCtrl page to ignore redirect parameter * Modify SignIn to set forceLogin query instead of redirect * Pass appUrl to frontend and use URL API for updating url query * Apply suggestions from code review Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Fix SignIn test Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
auth_proxy | Loading commit data... | |
auth.go | Loading commit data... | |
auth_proxy.go | Loading commit data... | |
auth_test.go | Loading commit data... | |
cookie.go | Loading commit data... | |
dashboard_redirect.go | Loading commit data... | |
dashboard_redirect_test.go | Loading commit data... | |
headers.go | Loading commit data... | |
logger.go | Loading commit data... | |
middleware.go | Loading commit data... | |
middleware_basic_auth_test.go | Loading commit data... | |
middleware_test.go | Loading commit data... | |
org_redirect.go | Loading commit data... | |
org_redirect_test.go | Loading commit data... | |
perf.go | Loading commit data... | |
quota.go | Loading commit data... | |
quota_test.go | Loading commit data... | |
recovery.go | Loading commit data... | |
recovery_test.go | Loading commit data... | |
render_auth.go | Loading commit data... | |
request_metrics.go | Loading commit data... | |
request_tracing.go | Loading commit data... | |
testing.go | Loading commit data... | |
util.go | Loading commit data... | |
validate_host.go | Loading commit data... |