grafana/pkg/middleware
Misi d411ce2664
Auth: Use sessionStorage instead of cookie for automatic redirection (#92759)
* WIP: working as expected, has to be tested

* Rename query param, small changes

* Remove unused code

* Address feedback

* Cleanup

* Use the feature toggle to control the behaviour

* Use the toggle on the FE too

* Prevent the extra redirect/reload

 Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>

* Return to login if user is not authenticated

* Add tracking issue

* Align BE redirect constructor to locationSvc
2024-09-24 18:38:09 +02:00
..
cookies
csrf
loggermw Chore: Remove sensitive information from presigned URLs prior to logging (#87035) 2024-06-24 14:53:42 +02:00
requestmeta
auth.go Auth: Use sessionStorage instead of cookie for automatic redirection (#92759) 2024-09-24 18:38:09 +02:00
auth_test.go Auth: Use sessionStorage instead of cookie for automatic redirection (#92759) 2024-09-24 18:38:09 +02:00
csp.go
dashboard_redirect.go
dashboard_redirect_test.go
gziper.go Chore: Skip gzip for apiserver routes (#92245) 2024-08-21 23:47:58 +03:00
middleware.go App Plugins: Allow resource handle to define Cache-Control Header (#92559) 2024-09-17 10:28:38 +02:00
middleware_test.go Auth: Use sessionStorage instead of cookie for automatic redirection (#92759) 2024-09-24 18:38:09 +02:00
org_redirect.go User: support setting org and help flags though update function (#86535) 2024-04-29 08:53:05 +02:00
org_redirect_test.go User: support setting org and help flags though update function (#86535) 2024-04-29 08:53:05 +02:00
quota.go
quota_test.go Identity: Remove typed id (#91801) 2024-08-13 10:18:28 +02:00
recovery.go
recovery_test.go
request_metadata_test.go
request_metrics.go Metrics: Add ability to disable classic histogram for HTTP metric (#88315) 2024-06-18 15:37:44 -04:00
request_test.go
request_tracing.go infra(tracing): Fix span naming order-of-operations bug (#90025) 2024-07-04 07:05:14 -04:00
subpath_redirect.go
subpath_redirect_test.go
testing.go
validate_action_url.go Canvas: Allow API calls to grafana origin (#91822) 2024-09-10 10:45:27 -04:00
validate_action_url_test.go Canvas: Allow API calls to grafana origin (#91822) 2024-09-10 10:45:27 -04:00
validate_host.go