[BUG] Can't change userNameAttributeName for azure sso #20209
Labels
azure-spring
All azure-spring related issues
azure-spring-aad
Spring active directory related issues.
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Milestone
Describe the bug
I try to change value of userNameAttributeName in my application.yml and value is not updated.
In AADWebAppConfiguration (line 165), value is not set. For value is set, you need to call fonction with ClientRegistration in parameter.
In AADOAuth2UserService (Line 81), value is always null and It take default value.
To Reproduce
Try to change default value and It don't working.
Code Snippet
My application.yml
Expected behavior
userNameAttributeName don't have default value when my user is connected
Setup (please complete the following information):
Additional context
I migrate from old version of azure-spring-boot. All other feature in my application is working.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: