Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds AttributeConsumingService to the metadata #54

Merged

Commits on Nov 2, 2014

  1. Adds AttributeConsumingService to the metadata

    Adds:
    
    - ServiceName
    - ServiceDescription
    - RequestedAttributes
    
    Example configuration:
    
    ```
      "passport": {
        "saml": {
          "path": "/saml/login/callback",
          "callbackUrl": "https://127.0.0.1:8081/saml/login/callback",
          "entryPoint": "https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php",
          "issuer": "https://127.0.0.1:8081/saml2/entityid",
          "serviceName": "GEANT Cloud Catalogue",
          "serviceDescription": "GEANT Cloud Catalogue",
          "requestedAttributes":[
            {
              "FriendlyName": "eduPersonTargetedID",
              "Name": "urn:oid:1.3.6.1.4.1.5923.1.1.1.10",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "true"
            },
            {
              "FriendlyName": "eduPersonPrincipalName",
              "Name": "urn:oid:1.3.6.1.4.1.5923.1.1.1.6",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "true"
            },
            {
              "FriendlyName": "mail",
              "Name": "urn:oid:0.9.2342.19200300.100.1.3",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "false"
            },
            {
              "FriendlyName": "cn",
              "Name": "urn:oid:2.5.4.3",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "false"
            },
            {
              "FriendlyName": "displayName",
              "Name": "urn:oid:2.16.840.1.113730.3.1.241",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "false"
            },
            {
              "FriendlyName": "givenName",
              "Name": "urn:oid:2.5.4.42",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "false"
            },
            {
              "FriendlyName": "surname",
              "Name": "urn:oid:2.5.4.4",
              "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
              "isRequired": "false"
            }
          ]
        }
      ,
    ```
    skanct committed Nov 2, 2014
    Configuration menu
    Copy the full SHA
    19823b4 View commit details
    Browse the repository at this point in the history