Currently a number of warnings are logged in the applications that use the access token library when the access token is missing from a request. In many cases this might be due to a dual policy requiring either an access token or a different mechanism.
Changed log to be only information in non-exceptional cases.
Changed checks to reflect the error messages
Related Issue(s)
altinn/altinn-notifications#392
Verification
[x] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
Description
Currently a number of warnings are logged in the applications that use the access token library when the access token is missing from a request. In many cases this might be due to a dual policy requiring either an access token or a different mechanism.
Changed log to be only information in non-exceptional cases.
Changed checks to reflect the error messages
Related Issue(s)
Verification