{
  "opencollection": "1.0.0",
  "info": {
    "name": "Login.gov OpenID Connect API",
    "version": "2026-01"
  },
  "items": [
    {
      "info": {
        "name": "Discovery",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get OIDC Discovery Document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://idp.int.identitysandbox.gov/.well-known/openid-configuration"
          },
          "docs": "Returns the OpenID Connect discovery document listing supported endpoints, scopes, response types, claims, and acr_values."
        },
        {
          "info": {
            "name": "Get JWKS Signing Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://idp.int.identitysandbox.gov/api/openid_connect/certs"
          },
          "docs": "Returns Login.gov's public signing key(s) in JWK Set format. Keys are rotated at least annually; clients should fetch dynamically rather than hard-coding."
        }
      ]
    },
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Start Authorization Flow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://idp.int.identitysandbox.gov/openid_connect/authorize",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "Registered relying party identifier."
              },
              {
                "name": "response_type",
                "value": "",
                "type": "query",
                "description": "Must be `code`. Implicit flow is not supported."
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Space-separated list of requested scopes. Must include `openid`."
              },
              {
                "name": "redirect_uri",
                "value": "",
                "type": "query",
                "description": "Pre-registered redirect URI. Must match exactly."
              },
              {
                "name": "nonce",
                "value": "",
                "type": "query",
                "description": "Random string (minimum 22 characters) bound to the id_token to prevent replay."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Opaque value (minimum 22 characters) returned with the callback for CSRF protection and request/callback correlation."
              },
              {
                "name": "prompt",
                "value": "",
                "type": "query",
                "description": "Must be `select_account`."
              },
              {
                "name": "acr_values",
                "value": "",
                "type": "query",
                "description": "Requested authentication context. Combines a service level and an authenticator assurance level."
              },
              {
                "name": "locale",
                "value": "",
                "type": "query",
                "description": "Override the user's locale."
              },
              {
                "name": "code_challenge",
                "value": "",
                "type": "query",
                "description": "PKCE code challenge (base64url SHA-256 of `code_verifier`). Required for native apps using PKCE instead of private_key_jwt."
              },
              {
                "name": "code_challenge_method",
                "value": "",
                "type": "query",
                "description": "PKCE method. Login.gov supports `S256`."
              }
            ]
          },
          "docs": "Begins the OIDC authorization code flow. The user is redirected to Login.gov, authenticates,\nconsents to the requested scopes, and is redirected back to `redirect_uri` with an\nauthorization `code` and the original `state` value.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Token",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Exchange Authorization Code for Tokens",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://idp.int.identitysandbox.gov/api/openid_connect/token",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Exchanges the authorization code for an `access_token` and a signed `id_token`. Web apps\nauthenticate using `private_key_jwt`; native apps use PKCE with a `code_verifier`.\n"
        }
      ]
    },
    {
      "info": {
        "name": "UserInfo",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Authenticated User Attributes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://idp.int.identitysandbox.gov/api/openid_connect/userinfo",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns user attributes consented to during authorization. Requires a bearer `access_token`."
        }
      ]
    },
    {
      "info": {
        "name": "Logout",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "RP-Initiated Logout",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://idp.int.identitysandbox.gov/openid_connect/logout",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "Registered relying party identifier."
              },
              {
                "name": "post_logout_redirect_uri",
                "value": "",
                "type": "query",
                "description": "Pre-registered post-logout redirect URI."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Opaque value (minimum 22 characters) echoed back to `post_logout_redirect_uri`."
              }
            ]
          },
          "docs": "Ends the user's Login.gov session. After confirmation the browser is redirected to the\npre-registered `post_logout_redirect_uri` with the original `state` value.\n"
        }
      ]
    }
  ],
  "bundled": true
}