Improve service auth log
This commit is contained in:
parent
9c072a372c
commit
f939200b34
@ -53,6 +53,7 @@ func (n *noop) Generate(id string, opts ...GenerateOption) (*Account, error) {
|
||||
Secret: options.Secret,
|
||||
Metadata: options.Metadata,
|
||||
Scopes: options.Scopes,
|
||||
Issuer: n.Options().Namespace,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ func Generate(id string, name string, a auth.Auth) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
logger.Infof("Auth [%v] Authenticated as %v in the %v namespace", a, name, a.Options().Namespace)
|
||||
logger.Infof("Auth [%v] Authenticated as %v issued by %v", a, name, acc.Issuer)
|
||||
|
||||
accID = acc.ID
|
||||
accSecret = acc.Secret
|
||||
|
Loading…
Reference in New Issue
Block a user