openapi: 3.1.0
info:
title: OAuth2 Proxy Endpoints Metrics Robots.txt API
description: 'HTTP endpoints exposed by oauth2-proxy, a reverse proxy that
authenticates requests using upstream OAuth/OIDC providers. The
OAuth2 endpoints live under a configurable prefix (`--proxy-prefix`,
default `/oauth2`); the health and operational endpoints live at the
document root. Sourced from
https://oauth2-proxy.github.io/oauth2-proxy/features/endpoints.
'
version: '1.0'
servers:
- url: http://localhost:4180
description: Default oauth2-proxy listen address
tags:
- name: Robots.txt
paths:
/robots.txt:
get:
summary: Robots exclusion
responses:
'200':
description: Returns a disallow-all robots.txt.
tags:
- Robots.txt
components:
securitySchemes:
SessionCookie:
type: apiKey
in: cookie
name: _oauth2_proxy
description: Session cookie established by the OAuth callback.