Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Mapping Username Field to Custom Attribute #2550

Open
adl1995 opened this issue Apr 19, 2024 · 1 comment
Open

Allow Mapping Username Field to Custom Attribute #2550

adl1995 opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels

Comments

@adl1995
Copy link

adl1995 commented Apr 19, 2024

Our IdP allows requesting multiple username attributes using OIDC claims. We therefore need to manually map the username field in Moodle to use this attribute.

The SAML2 plugin allows updating this data mapping, but this option is missing in the OIDC module.

image

Is there a possibility of adding this functionality in this module?

@weilai-irl
Copy link
Collaborator

Hi @adl1995

We are currently working on #2157, which is funded by reporter of the issue. The change allows site admins to configure the binding username token claim. There are three types of options: (1) a list of common claims defined in OIDC standard, (2) the default/common claims in EntraID ID/access tokens, and (3) a text custom token name entered by the site admin.

It looks like your request will fall into option 3 below.

The reporter of the issue is currently testing the changes. It will be included in the next 1 or 2 releases, depending on the process of testing.

Feel free to subscribe to the linked issue to get notified when there's update. I'll also update this issue when the feature is released.

Regards,
Lai

@weilai-irl weilai-irl self-assigned this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants