Skip to content

Conversation

@simonLeary42
Copy link
Collaborator

No description provided.

@simonLeary42 simonLeary42 force-pushed the shib-dupe-attributes branch 4 times, most recently from cc9922e to 0c79c9a Compare September 18, 2025 22:07
@simonLeary42 simonLeary42 marked this pull request as ready for review September 19, 2025 16:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new helper method to properly handle Shibboleth attribute values that may contain multiple semicolon-delimited values, ensuring only the first value is used.

  • Adds a getAttribute() method to extract and clean Shibboleth attributes
  • Updates the getSSO() method to use the new helper instead of direct $_SERVER access
  • Implements fallback support for the mail attribute using "eppn" as backup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@simonLeary42 simonLeary42 marked this pull request as draft September 19, 2025 16:24
@simonLeary42
Copy link
Collaborator Author

switched back to draft, I want SSOException instead of bad request

@simonLeary42 simonLeary42 marked this pull request as ready for review September 19, 2025 19:49
@simonLeary42 simonLeary42 merged commit 9cdf8e1 into main Sep 19, 2025
2 checks passed
@simonLeary42 simonLeary42 deleted the shib-dupe-attributes branch September 19, 2025 20:19
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