Project

General

Profile

Actions

Refactor #30699

closed

Error logging for invalid token is misleading

Added by Marek Hulán over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Logging error for broken or expired JWT should not use error level, it's expected error, so it should probably use warning. https://github.com/theforeman/foreman/blob/f4b4ab58fe8ea4f8000179ff6fde8dadfc0042c1/app/services/sso/jwt.rb#L15-L20


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #30440: Simple & automatic host registration WFClosedLeos StejskalActions
Actions

Also available in: Atom PDF