diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml index e62230f..4f33b4d 100644 --- a/.idea/dataSources.local.xml +++ b/.idea/dataSources.local.xml @@ -1,6 +1,6 @@ - + " diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5b58e3a..9d6dd92 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -109,8 +109,8 @@ - diff --git a/pkg/internal/services/auth.go b/pkg/internal/services/auth.go index 4bf74e4..bcbfa82 100644 --- a/pkg/internal/services/auth.go +++ b/pkg/internal/services/auth.go @@ -60,7 +60,7 @@ func GetAuthContext(jti string) (models.AuthContext, error) { contx := context.Background() if val, err := marshal.Get(contx, GetAuthContextCacheKey(jti), new(models.AuthContext)); err == nil { - ctx = val.(models.AuthContext) + ctx = *val.(*models.AuthContext) } else { ctx, err = CacheAuthContext(jti) log.Debug().Str("jti", jti).Msg("Created a new auth context cache")