Project

General

Profile

Refactor #30699

Error logging for invalid token is misleading

Added by Marek Hulán 10 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Related to Foreman - Feature #30440: Simple & automatic host registration WFClosed

Associated revisions

Revision 76fec17e (diff)
Added by Jaskaran Singh Narula 5 months ago

Fixes #30699 - Log invalid JWT at warning instead of error

History

#1 Updated by Marek Hulán 10 months ago

  • Related to Feature #30440: Simple & automatic host registration WF added

#2 Updated by Jaskaran Singh Narula 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8296 added

#3 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing

#4 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.5.0 added

#5 Updated by Jaskaran Singh Narula 5 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker about 2 months ago

  • Category set to Authentication

Also available in: Atom PDF