"use strict";(self.webpackChunkdocusaurus=self.webpackChunkdocusaurus||[]).push([[3217],{3905:function(e,t,n){n.d(t,{Zo:function(){returnc},kt:function(){returnf}});varr=n(7294);functiono(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiona(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}functioni(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(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={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);returno}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}returno}varp=r.createContext({}),u=function(e){vart=r.useContext(p),n=t;returne&&(n="function"==typeofe?e(t):i(i({},t),e)),n},c=function(e){vart=u(e.components);returnr.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),m=u(n),f=o,d=m["".concat(p,".").concat(f)]||m[f]||s[f]||a;returnn?r.createElement(d,i(i({ref:t},c),{},{components:n})):r.createElement(d,i({ref:t},c))}));functionf(e,t){varn=arguments,o=t&&t.mdxType;if("string"==typeofe||o){vara=n.length,i=newArray(a);i[0]=m;varl={};for(varpint)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeofe?e:o,i[1]=l;for(varu=2;u<a;u++)i[u]=n[u];returnr.createElement.apply(null,i)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},9803:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){returnl},contentTitle:function(){returnp},metadata:function(){returnu},toc:function(){returnc},default:function(){returnm}});varr=n(7462),o=n(3366),a=(n(7294),n(3905)),i=["components"],l={id:"installation",title:"Installation",slug:"/"},p=void0,u={unversionedId:"installation",id:"installation",title:"Installation",description:"1. Choose how to deploy:",source:"@site/docs/installation.md",sourceDirName:".",slug:"/",permalink:"/oauth2-proxy/docs/next/",editUrl:"https://github.com/oauth2-proxy/oauth2-proxy/edit/master/docs/docs/installation.md",tags:[],version:"current",frontMatter:{id:"installation",title:"Installation",slug:"/"},sidebar:"docs",next:{title:"Behaviour",permalink:"/oauth2-proxy/docs/next/behaviour"}},c=[],s={toc:c};functionm(e){vart=e.components,n=(0,o.Z)(e,i);return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Choose how to deploy:"),(0,a.kt)("p",{parentName:"li"},"a. Download ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/oauth2-proxy/oauth2-proxy/releases"},"Prebuilt Binary")," (current release is ",(0,a.kt)("inlineCode",{parentName:"p"},"v7.3.0"),")"),(0,a.kt)("p",{parentName:"li"},"b. Build with ",(0,a.kt)("inlineCode",{parentName:"p"},"$ go get github.com/oauth2-proxy/oauth2-proxy/v7")," which will put the binary in ",(0,a.kt)("inlineCode",{parentName:"p"},"$GOPATH/bin")),(0,a.kt)("p",{parentName:"li"},"c. Using the prebuilt docker image ",(0,a.kt)("a",{parentName:"p",href:"https://quay.io/oauth2-proxy/oauth2-proxy"},"quay.io/oauth2-proxy/oauth2-proxy")," (AMD64, ARMv6 and ARM64 tags available)"),(0,a.kt)("p",{parentName:"li"},"d. Using a ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/oauth2-proxy/manifests"},"Kuberne