- Replaced
x509Certificate
withx509Certificates
inIDPSSODescriptor
so that it may have more than one certificate (#65 by @fumieval) - Added
attributeValues
toAssertionAttribute
in order to handle multiple attribute values with the same name (#67 by @fumieval)
- Support GHC 9.6 (#53 by @mbg)
- Fixed a bug in XML canonicalisation causing a digest mismatch on Okta when assertion attributes are present (special thanks to @hiroqn) (#51 by @fumieval)
- Added
authnRequestDestination
field toAuthnRequest
(#47 by @Philonous)
- Split
validateResponse
intodecodeResponse
andvalidateSAMLResponse
(#31 by @fumieval) - Exported
NameID
(formerlyNameId
), and renamedsubjectNameId
tosubjectNameID
- Support GHC 9.4 (#36 by @mbg)
- Add new module
Network.Wai.SAML2.Request
withAuthnRequest
generation for SP-initiated login flow (#19 by @fumieval) - Changed the
saml2PrivateKey
field to be optional and addedsaml2ConfigNoEncryption
which takes aPublicKey
only (#37 by @fumieval) - Added
showUTCTime
toNetwork.Wai.SAML2.XML
- Added a new module
Network.Wai.SAML2.NameIDFormat
(#21 by @fumieval) - Added new field
response
toResult
which contains the full, decoded SAML response (#33 by @Philonous) - Validate audience restrictions (#35 by @Philonous)
- Handle status codes according to the SAML2 specification (#42) by @mbg
- Improve parse error handling and make
encryptedKeyData
optional (#11 by @Philonous) - Add
subjectNameId
toSubject
type (#13 by @kdxu) - Support the response format used by Okta, in which the
EncryptedAssertion
element is structured differently (#12 by @fumieval)
- Metadata updates.
No changes.
- Export
Result
type fromNetwork.Wai.SAML2
module.
- Fix missing export of
relayStateKey
and change its type.
- Added parsing for RelayState from form data, as sent by e.g. Shibboleth when a
target
query string parameter is passed to the unsolicited SSO endpoint.
- Initial release