simplesamlphp / simplesamlphp/saml2
Make NameID emailAddress value assertion optional
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 306
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
We just updated from v4 to v6 and some authentication failed. After digging around we found that the value of the Subject NameID isn't a valid email address in some cases. This isn't something we can ask the IdP to change.
From what we can see from other SAML2 libraries, it seems to be a common practice to be able to disable some assertions like this one.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the NameID implementation referenced in the issue and locate the assertion that requires the Subject NameID to be an email address. Check nearby tests and configuration patterns; done means callers can disable this assertion for non-email NameIDs while the current validation remains the default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100