Skip to content

Conversation

@sameenfatima78
Copy link
Member

@sameenfatima78 sameenfatima78 commented Oct 22, 2025

Description:

Username is not being picked up from SAML response for enterprise learners due to is_auto_generated_username_enabled being enabled.

JIRA:

Fix:
Verify if we are receiving any username value in the response payload and give it preference over the auto-generated username. This approach is similar to how it is handled in the Registration flow: https://github.com/openedx/edx-platform/pull/34562/files#diff-10e2a9ce44f5002369208fb96f3f95512c889dd126dfd416bee3ac3807f3358fR581

@sameenfatima78 sameenfatima78 merged commit 3a97ff2 into master Oct 23, 2025
53 checks passed
@sameenfatima78 sameenfatima78 deleted the sameen/ENT-10906 branch October 23, 2025 09:47
haftamuk pushed a commit to haftamuk/edx-platform that referenced this pull request Nov 3, 2025
Co-authored-by: Sameen Fatima <sameen.fatima@A006-01036.local>
sameenfatima78 added a commit to edx/edx-platform that referenced this pull request Nov 5, 2025
Co-authored-by: Sameen Fatima <sameen.fatima@A006-01036.local>
sameenfatima78 added a commit to edx/edx-platform that referenced this pull request Nov 5, 2025
fix: do not autogenerate username if coming through SSO (openedx#37522)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants