Actions
Bug #24042
closedWhen the Oauth2 role provisioning attribute is incorrect, the error is misleading
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
If one use Oauth2/OIDC role provisionning and misconfigure `rudder.auth.oauth2.provider.${idpID}.roles.attribute` value or that attribute is not sent to Rudder, then we get in the log:
2024-01-18 15:50:36+0100 WARN auth-backends - Unable to get custom roles for user 'francois@rudder.io' when looking for attribute 'customroles' :Cannot invoke "scala.collection.mutable.Buffer.map(scala.Function1)" because the return value of "scala.collection.convert.AsScalaExtensions$ListHasAsScala.asScala()" is null'
Which awfully looks like a stacktrace in disguise.
The error message must clearly tell "hey, please check your config for that value"
Updated by François ARMAND 11 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/634
Updated by Anonymous 11 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|642255e0a2023c01934b4bd9043abaf451b7f399.
Updated by Clark ANDRIANASOLO 11 months ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ 11 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder plugin auth-backends v8.0.5-2.7
Updated by Vincent MEMBRÉ 11 months ago
This bug has been fixed in Rudder plugin auth-backends v7.3.11-2.7
Updated by Vincent MEMBRÉ 10 months ago
This bug has been fixed in Rudder plugin auth-backends v8.1.0.beta1-2.7
Actions