Skip to content

Commit

Permalink
fix: missing active field (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Sep 15, 2023
1 parent 61920d2 commit 7ad4777
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/auth/pkg/oidc/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func (s *storageFacade) SetIntrospectionFromToken(ctx context.Context, introspec

introspection.Scope = oidc.SpaceDelimitedArray(token.Scopes)
introspection.ClientID = token.ApplicationID
introspection.Active = time.Now().After(token.Expiration)
return nil
}

Expand Down

0 comments on commit 7ad4777

Please sign in to comment.