Skip to content

AuthnContextClassRef - Unspecified value using weird constant. #59

@thomasjosif

Description

@thomasjosif

Hi,

I was integrating this idp with a service that requires me to have an AuthnContextClassRef, it by default accepts:
urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified which seems pretty standard.

But in this package for some reason the default value found here

->setAuthnContextClassRef(SamlConstants::NAME_ID_FORMAT_UNSPECIFIED)

is:
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified

Is there any rhyme or reason behind this or would it be possible for me to make a PR to change that line to use this constant found here?
https://github.com/lightSAML/lightSAML/blob/b5e37b001c68da82bea8b2ca30230598368c51d1/src/LightSaml/SamlConstants.php#L69

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions