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 |
---|---|---|
.. | ||
social | Loading commit data... | |
auth.go | Loading commit data... | |
auth_test.go | Loading commit data... | |
brute_force_login_protection.go | Loading commit data... | |
brute_force_login_protection_test.go | Loading commit data... | |
grafana_login.go | Loading commit data... | |
grafana_login_test.go | Loading commit data... | |
ldap_login.go | Loading commit data... | |
ldap_login_test.go | Loading commit data... |