Remove obsolete comment

Token/Userinfo caching is already present since a while
This commit is contained in:
Ralf Haferkamp
2022-07-07 16:20:01 +02:00
committed by Ralf Haferkamp
parent 74fa98ac68
commit 0b055ca621

View File

@@ -74,7 +74,6 @@ type oidcAuth struct {
func (m oidcAuth) getClaims(token string, req *http.Request) (claims map[string]interface{}, status int) {
hit := m.tokenCache.Load(token)
if hit == nil {
// TODO cache userinfo for access token if we can determine the expiry (which works in case it is a jwt based access token)
oauth2Token := &oauth2.Token{
AccessToken: token,
}