|
914daef0fd
|
Auth: Add request context to UserInfo calls (#70007)
* use context for UserInfo requests
* set timeouts for oauth http client
* Update pkg/login/social/common.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
|
2023-06-14 14:30:40 +02:00 |
|
|
a38f230d37
|
Chore: Remove result fields from login (#65136)
* remove result fields from login
* fix tests
* fix tests
* another shadowing
|
2023-03-28 20:32:21 +02:00 |
|
|
ccbf200c4a
|
SupportBundles: Add OAuth bundle collectors (#64810)
* wip
* add oauth support bundles
* add specific configs for generic oauth and azureAD
* add doc entry
* optimize struct packing
* Update pkg/login/social/azuread_oauth.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* nit update
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
|
2023-03-16 09:46:25 +02:00 |
|
|
9256a520a4
|
chore: move user_auth models to (mostly) login service (#62269)
* chore: move user_auth models to (mostly) login service
|
2023-01-27 13:36:54 -05:00 |
|
|
6cc56311d9
|
Auth: Display id Provider label in orgs/users view (#58033)
* Add frontend test
* Add frontend label component
* Adjust backend tests
* Retrieve auth IDP labels for users at org/users.
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Kalle <kalleep@users.noreply.github.com>
Co-authored-by: Jo <Jguer@users.noreply.github.com>
|
2022-11-29 15:20:28 +01:00 |
|
|
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 |
|