mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
Remove obsolete comment
Token/Userinfo caching is already present since a while
This commit is contained in:
committed by
Ralf Haferkamp
parent
74fa98ac68
commit
0b055ca621
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user