Skip to content

Commit

Permalink
Introspection is active if returns
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosuppo committed May 17, 2017
1 parent fd74163 commit 42c488c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions introspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func (m *Introspector) Allowed(token string, perm introspector.Permission, scope
if err != nil {
return nil, false, err
}
i.Active = true
i.Introspection.Scope = strings.Join(i.Scopes, " ")
i.Introspection.IssuedAt = i.IssuedAt.Unix()
i.Introspection.ExpiresAt = i.ExpiresAt.Unix()
Expand Down

0 comments on commit 42c488c

Please sign in to comment.