Fix noop issuer bug

This commit is contained in:
Ben Toogood 2020-05-22 12:40:34 +01:00
parent f939200b34
commit dad011cab4

View File

@ -79,7 +79,7 @@ func (n *noop) Verify(acc *Account, res *Resource, opts ...VerifyOption) error {
// Inspect a token
func (n *noop) Inspect(token string) (*Account, error) {
return &Account{ID: uuid.New().String()}, nil
return &Account{ID: uuid.New().String(), Issuer: n.Options().Namespace}, nil
}
// Token generation using an account id and secret