grafana/pkg/middleware
Nicholas Wiersma faf8eb3afb
JWT: Allow conventional bearer token in Authorization header (#54821)
* fix: allow JWT to accept standard bearer token

* fix: linter issues

* fix: linter gosec false positive

* fix: refactor logic into JWT handler

* fix: move bearer trimming earlier
2022-09-09 11:05:58 +02:00
..
cookies Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
csrf CSRF: Fix additional headers option (#50629) 2022-07-13 19:28:59 +01:00
auth_test.go Chore: Remove bus from contexthandler (#47374) 2022-04-06 16:31:26 +02:00
auth.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
csp.go Macaron: convert CSP middleware (#37672) 2021-08-10 09:03:22 +02:00
dashboard_redirect_test.go Chore: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
dashboard_redirect.go Chore: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
gziper.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
logger_test.go Auth: Implement Token URL JWT Auth (#52662) 2022-07-27 16:10:47 +02:00
logger.go Instrumentation: log the total number of db queries per request (#54647) 2022-09-05 07:39:22 +02:00
middleware_basic_auth_test.go Chore: Move login attempt methods to separate service (#54479) 2022-09-01 18:08:42 +02:00
middleware_jwt_auth_test.go JWT: Allow conventional bearer token in Authorization header (#54821) 2022-09-09 11:05:58 +02:00
middleware_test.go JWT: Allow conventional bearer token in Authorization header (#54821) 2022-09-09 11:05:58 +02:00
middleware.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
org_redirect_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
org_redirect.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
quota_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
quota.go Chore: Remove bus from quota (#45143) 2022-02-10 12:42:06 +01:00
rate_limit_test.go Chore: Remove GetSignedInUserWithCacheCtx from store interface (#53734) 2022-08-16 16:08:59 +02:00
rate_limit.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery_test.go Chore: Remove GetSignedInUserWithCacheCtx from store interface (#53734) 2022-08-16 16:08:59 +02:00
recovery.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
request_metrics.go pkg/web: closure-style middlewares (#51238) 2022-08-09 14:58:50 +02:00
request_test.go metrics: add operation name used in metrics/tracing for middlewares (#53949) 2022-08-25 10:11:27 +02:00
request_tracing.go metrics: add operation name used in metrics/tracing for middlewares (#53949) 2022-08-25 10:11:27 +02:00
testing.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
validate_host.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00