Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarify curl example by using long-form options and breaking up arguments

...

Code Block
languagebash
titleExample Request
$ curl -k '-insecure --get "https://localhost/Shibboleth.sso/AttributeResolver?" \
  --data-urlencode "format=urn:oasis:names:tc:SAML:2.0:nameid-format:persistent&entityID=https%3A%2F%2Fyour" \
  --data-urlencode "entityID=https://your.idp.example.org%2Fidp%2Fshibboleth&org/idp/shibboleth" \
  --data-urlencode "nameId=123456789PfvsH8k4gvHoeq6QtM='"
Code Block
languagejs
titleExample result
{
    "displayName" : [

        "Lukas Hämmerle"
    ],
    "mail" : [

        "lukas.haemmerle@switch.ch"
    ],
    "schacHomeOrganization" : [

        "switch.ch"
    ],
    "persistent-id" : [

        "https://your.idp.example.org/idp/shibboleth!https://test.sp.example.org/shibboleth!123456789PfvsH8k4gvHoeq6QtM="
    ],
    "idp" : [

        "https://your.idp.example.org/idp/shibboleth"
    ]
}