{
  "opencollection": "1.0.0",
  "info": {
    "name": "Proxy Endpoints Metrics Oauth2 API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Oauth2",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Render sign-in page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/sign_in"
          },
          "docs": "Render sign-in page"
        },
        {
          "info": {
            "name": "Clear the session cookie",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/sign_out"
          },
          "docs": "Clears the local session and optionally redirects to the provider's logout endpoint."
        },
        {
          "info": {
            "name": "Begin OAuth authorization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/start"
          },
          "docs": "Begin OAuth authorization"
        },
        {
          "info": {
            "name": "OAuth callback target",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/callback"
          },
          "docs": "Endpoint the OAuth provider redirects back to after consent."
        },
        {
          "info": {
            "name": "External authentication subrequest",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/auth",
            "auth": {
              "type": "apikey",
              "key": "_oauth2_proxy",
              "value": "{{_oauth2_proxy}}",
              "placement": "query"
            }
          },
          "docs": "Returns 202 when the request is authenticated and 401 when it is\nnot, intended for use with `nginx auth_request` or similar\ngateways.\n"
        },
        {
          "info": {
            "name": "Authenticated user information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/userinfo",
            "auth": {
              "type": "apikey",
              "key": "_oauth2_proxy",
              "value": "{{_oauth2_proxy}}",
              "placement": "query"
            }
          },
          "docs": "Authenticated user information"
        },
        {
          "info": {
            "name": "Serve static assets for the login/error pages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:4180/oauth2/static/:path",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Serve static assets for the login/error pages"
        }
      ]
    }
  ],
  "bundled": true
}