Project

General

Profile

Bug #28648

Handle `nil` jwt token

Added by Rahul Bajaj 7 months ago. Updated 5 months ago.

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

Description

When issues like wrong connection, wrong credentials or wrong attributes take place a nil token is issued by the OpenID provider, as that moment foreman breaks with an error.

Rescue the decode method to say `Can not decode nil JWT`


Related issues

Related to Foreman - Tracker #28345: SSO using OpenID ConnectNew

Associated revisions

Revision 3b15ed2e (diff)
Added by Rahul Bajaj 5 months ago

Fixes #28648 - handle nil jwt token

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7335 added

#2 Updated by Rahul Bajaj 7 months ago

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.1.0 added

#4 Updated by Rahul Bajaj 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF