Revert "AuthN: move oauth token hook into session client" (#76882)

Revert "AuthN: move oauth token hook into session client (#76688)"

This reverts commit 455cede699.
This commit is contained in:
Karl Persson
2023-10-20 16:09:46 +02:00
committed by GitHub
parent c3102c7d0a
commit ed1c50233f
6 changed files with 458 additions and 425 deletions
@@ -394,5 +394,4 @@ func syncSignedInUserToIdentity(usr *user.SignedInUser, identity *authn.Identity
identity.LastSeenAt = usr.LastSeenAt
identity.IsDisabled = usr.IsDisabled
identity.IsGrafanaAdmin = &usr.IsGrafanaAdmin
identity.AuthenticatedBy = usr.AuthenticatedBy
}