Project

General

Profile

Actions

Bug #21078

closed

Exception when trying to access an other than sub Oauth2 user attribute

Added by François ARMAND almost 2 years ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

If you try to use a non existing attribute for the userNameAttributeName, you get an horrible exception:

Edit: actually, it seems to happen whenever we try to map an other field than the default one (sub) for login mapping with rudder


Files

clipboard-202205092243-uaz62.png (29 KB) clipboard-202205092243-uaz62.png François ARMAND, 2022-05-09 22:43
Actions #1

Updated by François ARMAND almost 2 years ago

  • Subject changed from Exception when trying to access an unknown Oauth2 user attribute to Exception when trying to access an other than sub Oauth2 user attribute
  • Description updated (diff)

We need to copy Spring class that does that part and add debug + error management to understand what is happening.

Actions #2

Updated by François ARMAND almost 2 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND almost 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/479
Actions #4

Updated by François ARMAND almost 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ 9 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF