Files
grafana/pkg/middleware
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-09-02 15:15:46 +02:00
2018-10-30 09:31:56 +01:00
2018-03-07 11:54:50 -05:00
2018-03-07 11:54:50 -05:00
2019-10-23 10:40:12 +02:00
2019-10-15 18:08:06 +02:00
2018-03-07 11:54:50 -05:00