Altinn / altinn-accesstoken

Client and server libraries for simple authorization of API calls
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Update logging in negative validation cases #79

Closed acn-sbuad closed 8 months ago

acn-sbuad commented 8 months ago

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

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
93.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud