"use strict";(self.webpackChunkdocusaurus=self.webpackChunkdocusaurus||[]).push([[6119],{3905:function(e,t,n){n.d(t,{Zo:function(){returnp},kt:function(){returnh}});varr=n(7294);functiono(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functioni(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functiona(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functionl(e,t){if(null==e)return{};varn,r,o=function(e,t){if(null==e)return{};varn,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);returno}(e,t);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}returno}vars=r.createContext({}),u=function(e){vart=r.useContext(s),n=t;returne&&(n="function"==typeofe?e(t):a(a({},t),e)),n},p=function(e){vart=u(e.components);returnr.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){varn=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=u(n),h=o,m=d["".concat(s,".").concat(h)]||d[h]||c[h]||i;returnn?r.createElement(m,a(a({ref:t},p),{},{components:n})):r.createElement(m,a({ref:t},p))}));functionh(e,t){varn=arguments,o=t&&t.mdxType;if("string"==typeofe||o){vari=n.length,a=newArray(i);a[0]=d;varl={};for(varsint)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeofe?e:o,a[1]=l;for(varu=2;u<i;u++)a[u]=n[u];returnr.createElement.apply(null,a)}returnr.createElement.apply(null,n)}d.displayName="MDXCreateElement"},6522:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){returnl},contentTitle:function(){returns},metadata:function(){returnu},toc:function(){returnp},default:function(){returnd}});varr=n(7462),o=n(3366),i=(n(7294),n(3905)),a=["components"],l={id:"endpoints",title:"Endpoints"},s=void0,u={unversionedId:"features/endpoints",id:"features/endpoints",title:"Endpoints",description:"OAuth2 Proxy responds directly to the following endpoints. All other endpoints will be proxied upstream when authenticated. The /oauth2 prefix can be changed with the --proxy-prefix config variable.",source:"@site/docs/features/endpoints.md",sourceDirName:"features",slug:"/features/endpoints",permalink:"/oauth2-proxy/docs/next/features/endpoints",editUrl:"https://github.com/oauth2-proxy/oauth2-proxy/edit/master/docs/docs/features/endpoints.md",tags:[],version:"current",frontMatter:{id:"endpoints",title:"Endpoints"},sidebar:"docs",previous:{title:"Alpha Configuration",permalink:"/oauth2-proxy/docs/next/configuration/alpha-config"},next:{title:"Security",permalink:"/oauth2-proxy/docs/next/community/security"}},p=[{value:"Sign out",id:"sign-out",children:[],level:3},{value:"Auth",id:"auth",children:[],level:3}],c={toc:p};functiond(e){vart=e.components,n=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"OAuth2 Proxy responds directly to the following endpoints. All other endpoints will be proxied upstream when authenticated. The ",(0,i.kt)("inlineCode",{parentName:"p"},"/oauth2")," prefix can be changed with the ",(0,i.kt)("inlineCode",{parentName:"p"},"--proxy-prefix")," config variable."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"/robots.txt - returns a 200 OK response that disallows all User-agents from all paths; see ",(0,i.kt)("a",{parentName:"li",href:"http://www.robotstxt.o