{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fence OpenAPI Specification admin/user login API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "login",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Initiate login via shibboleth provider",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.domain/login/shib",
            "params": [
              {
                "name": "shib_idp",
                "value": "urn:mace:incommon:uchicago.edu",
                "type": "query",
                "description": "Identifier for the shibboleth IDP. Available identifiers are what is listed by the `login.bionimbus.org/Shibboleth.sso/DiscoFeed` endpoint. If no `shib_idp` is specified, defaults to NIH login."
              }
            ]
          },
          "docs": "NOTE that this endpoint only exists if shibboleth is enabled as an\nidentity provider in the fence config. Currently this only happens for\n`login.bionimbus.org`.\n"
        },
        {
          "info": {
            "name": "Initiate login via Fence provider (multi-tenant Fence)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.domain/login/fence",
            "params": [
              {
                "name": "idp",
                "value": "shibboleth",
                "type": "query",
                "description": "Identifier for the IDP. Specifying `idp=shibboleth` lets us specify a `shib_idp`. If no `idp` is specified, defaults to NIH login."
              },
              {
                "name": "shib_idp",
                "value": "urn:mace:incommon:uchicago.edu",
                "type": "query",
                "description": "Identifier for the shibboleth IDP. Available identifiers are what is listed by the `login.bionimbus.org/Shibboleth.sso/DiscoFeed` endpoint. If no `shib_idp` is specified, defaults to NIH login."
              }
            ]
          },
          "docs": "NOTE that this endpoint only exists if fence is enabled as an\nidentity provider in the fence config.\n"
        }
      ]
    }
  ],
  "bundled": true
}