flownative / flow-openidconnect-client

OpenID Connect Client SDK for Flow Framework
MIT License
6 stars 8 forks source link

Improve severity of logged message #45

Closed robertlemke closed 2 years ago

robertlemke commented 2 years ago

There's a logging message – which may occur very often in typical projects – which are logged with a misleading severity:

ERROR Flownative.OpenIdConnect.Client OpenID Connect: Ignoring role "Acme.Some.Role" from identity token (robert@example.com) because there is no such role configured in Flow.

This may be totally fine and expected and an ERROR is not the adequate error level, so we should rather log this as a DEBUG message.