TeskaLabs / seacat-auth

SeaCat Auth provides authentication, authorization, identity management, session management and other access control features.
GNU General Public License v3.0
11 stars 6 forks source link

Catch token decoding errors when finding sessions #397

Closed byewokko closed 3 months ago

byewokko commented 3 months ago

Issue

Sending a non-base64 access token in Authorization header triggers an unhandled error.

Solution

Catch the error and log the corrupt access token.

Also fixed for authorization codes and refresh tokens.