Project

General

Profile

Actions

Bug #28648

closed

Handle `nil` jwt token

Added by Rahul Bajaj over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
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 1 (1 open0 closed)

Related to Foreman - Tracker #28345: SSO using OpenID ConnectNewRahul Bajaj

Actions
Actions

Also available in: Atom PDF