Files
grafana/pkg/api
Jeffrey Descan c5f906f472 Security: refactor 'redirect_to' cookie to use 'Secure' flag (#19787)
* Refactor redirect_to cookie with secure flag in middleware

* Refactor redirect_to cookie with secure flag in api/login

* Refactor redirect_to cookie with secure flag in api/login_oauth

* Removed the deletion of 'Set-Cookie' header to prevent logout

* Removed the deletion of 'Set-Cookie' at top of api/login.go

* Add HttpOnly flag on redirect_to cookies where missing

* Refactor duplicated code

* Add tests

* Refactor cookie options

* Replace local function for deleting cookie

* Delete redundant calls

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-01-10 15:55:30 +02:00
..
2019-10-08 18:57:53 +02:00
2018-06-26 09:22:31 +02:00
2018-04-13 20:31:29 +02:00
2019-11-01 14:56:12 +01:00
2019-10-08 18:57:53 +02:00
2019-11-01 14:56:12 +01:00
2019-10-23 10:40:12 +02:00
2018-11-12 20:01:53 +01:00
2018-03-22 22:38:44 +01:00
2019-10-23 10:40:12 +02:00
2018-03-22 22:38:44 +01:00
2019-11-01 14:56:12 +01:00
2019-10-23 10:40:12 +02:00