fix(oidc): do not lower case in log messages (#2236)
parent
f7b358e72a
commit
28991dd71a
|
@ -15,6 +15,8 @@ import (
|
|||
|
||||
// NewOpenIDConnectStore returns a new OpenIDConnectStore using the provided schema.OpenIDConnectConfiguration.
|
||||
func NewOpenIDConnectStore(configuration *schema.OpenIDConnectConfiguration) (store *OpenIDConnectStore, err error) {
|
||||
logger := logging.Logger()
|
||||
|
||||
store = &OpenIDConnectStore{
|
||||
memory: &storage.MemoryStore{
|
||||
IDSessions: map[string]fosite.Requester{},
|
||||
|
@ -32,7 +34,7 @@ func NewOpenIDConnectStore(configuration *schema.OpenIDConnectConfiguration) (st
|
|||
|
||||
for _, client := range configuration.Clients {
|
||||
policy := authorization.PolicyToLevel(client.Policy)
|
||||
logging.Logger().Debugf("registering client %s with policy %s (%v)", client.ID, client.Policy, policy)
|
||||
logger.Debugf("Registering client %s with policy %s (%v)", client.ID, client.Policy, policy)
|
||||
|
||||
store.clients[client.ID] = NewClient(client)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue