Misi
9c954d06ab
Auth: Refresh OAuth access_token automatically using the refresh_token (#56076)
* Verify OAuth token expiration for oauth users in the ctx handler middleware
* Use refresh token to get a new access token
* Refactor oauth_token.go
* Add tests for the middleware changes
* Align other tests
* Add tests, wip
* Add more tests
* Add InvalidateOAuthTokens method
* Fix ExpiryDate update to default
* Invalidate OAuth tokens during logout
* Improve logout
* Add more comments
* Cleanup
* Fix import order
* Add error to HasOAuthEntry return values
* add dev debug logs
* Fix tests
Co-authored-by: jguer <joao.guerreiro@grafana.com>
2022-10-18 18:17:28 +02:00
..
2018-06-12 17:39:38 +02:00
2021-11-01 10:53:33 +01:00
2022-09-20 18:32:06 +02:00
2022-10-18 18:17:28 +02:00
2022-09-20 18:32:06 +02:00
2022-08-23 13:05:31 +02:00
2022-09-20 18:32:06 +02:00
2022-04-04 11:23:13 +02:00
2021-11-01 10:53:33 +01:00
2021-11-01 10:53:33 +01:00
2021-11-01 10:53:33 +01:00
2021-11-01 10:53:33 +01:00
2021-06-11 17:02:24 +02:00
2020-11-17 11:31:35 +01:00
2022-08-10 15:37:51 +02:00