From dad011cab422e5c173d3c725a80c9ab7286a46ee Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Fri, 22 May 2020 12:40:34 +0100 Subject: [PATCH] Fix noop issuer bug --- auth/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/default.go b/auth/default.go index bc861d1f..cf9c8cb6 100644 --- a/auth/default.go +++ b/auth/default.go @@ -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