grafana/pkg/services/authn/authnimpl
Karl Persson 144e4887ee
Auth: Use authn.Service for all tests (#72921)
* Dashboards: Fix tests when authn broker is enabled.
StarService was not configured for tests, the call was guarded by !c.IsSignedIn

* Change default to be anon user to match expectations from tests

* OAuth: rewrite tests to work with authn.Service

* Setup template renderer by default

* Extract cookie options from cfg instead of relying on global variables

* Fix test to work with authn service

* Middleware: rewrite auth tests

* Remvoe session cookie if we cannot refresh access token
2023-08-09 08:54:52 +02:00
..
sync Auth: Use authn.Service for all tests (#72921) 2023-08-09 08:54:52 +02:00
metrics.go AuthN: add metrics for login and authentication (#63783) 2023-03-06 17:07:57 +01:00
priority_queue_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
priority_queue.go AuthN: Rebuild Authenticate so we only have to call it once in context handler (#61705) 2023-01-26 10:50:44 +01:00
service_test.go AuthN: add metrics for login and authentication (#63783) 2023-03-06 17:07:57 +01:00
service.go Auth: Add authed device tagging (#72442) 2023-07-31 18:04:28 +02:00
usage_stats_test.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
usage_stats.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00