Skip to content

throw when cert is null#397

Open
mattkrick wants to merge 1 commit intotngan:masterfrom
mattkrick:patch-1
Open

throw when cert is null#397
mattkrick wants to merge 1 commit intotngan:masterfrom
mattkrick:patch-1

Conversation

@mattkrick
Copy link
Copy Markdown

Related to: #222
I had a case where our saved IdP cert was invalid & when the correct cert came back in the response the cert was null.
The error message received was Cannot read property 'map' of null, which wasn't helpful.
This throws an error message which is a bit more helpful.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.09%) to 85.484% when pulling 6f608a9 on mattkrick:patch-1 into 32ce430 on tngan:master.

@mattkrick
Copy link
Copy Markdown
Author

@tngan any update here? anything i can do to get this into master?

sultanhq pushed a commit to findmypast/samlify that referenced this pull request Apr 30, 2025
fix: throw when cert is null tngan#397

Co-authored-by: rassul-findmypast <rassul-findmypast@users.noreply.github.com>
Co-authored-by: JAParsons <johnparsons932@gmail.com>
Co-authored-by: Jonathan Darrer <jdarrer@findmypast.com>
Co-authored-by: Matt Krick <matt.krick@gmail.com>
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.

2 participants