(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{106:function(e,t,n){"use strict";n.d(t,"a",(function(){returnb})),n.d(t,"b",(function(){returnh}));vari=n(0),r=n.n(i);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){vari=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}returnn}functions(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}functionc(e,t){if(null==e)return{};varn,i,r=function(e,t){if(null==e)return{};varn,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);returnr}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}returnr}varl=r.a.createContext({}),u=function(e){vart=r.a.useContext(l),n=t;returne&&(n="function"==typeofe?e(t):s(s({},t),e)),n},b=function(e){vart=u(e.components);returnr.a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.a.createElement(r.a.Fragment,{},t)}},p=r.a.forwardRef((function(e,t){varn=e.components,i=e.mdxType,o=e.originalType,a=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),b=u(n),p=i,h=b["".concat(a,".").concat(p)]||b[p]||d[p]||o;returnn?r.a.createElement(h,s(s({ref:t},l),{},{components:n})):r.a.createElement(h,s({ref:t},l))}));functionh(e,t){varn=arguments,i=t&&t.mdxType;if("string"==typeofe||i){varo=n.length,a=newArray(o);a[0]=p;vars={};for(varcint)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeofe?e:i,a[1]=s;for(varl=2;l<o;l++)a[l]=n[l];returnr.a.createElement.apply(null,a)}returnr.a.createElement.apply(null,n)}p.displayName="MDXCreateElement"},98:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){returna})),n.d(t,"metadata",(function(){returns})),n.d(t,"rightToc",(function(){returnc})),n.d(t,"default",(function(){returnu}));vari=n(2),r=n(6),o=(n(0),n(106)),a={id:"session_storage",title:"Session Storage"},s={unversionedId:"configuration/session_storage",id:"version-7.0.x/configuration/session_storage",isDocsHomePage:!1,title:"Session Storage",description:"Sessions allow a user's authentication to be tracked between multiple HTTP",source:"@site/versioned_docs/version-7.0.x/configuration/sessions.md",slug:"/configuration/session_storage",permalink:"/oauth2-proxy/docs/7.0.x/configuration/session_storage",editUrl:"https://github.com/oauth2-proxy/oauth2-proxy/edit/master/docs/versioned_docs/version-7.0.x/configuration/sessions.md",version:"7.0.x",sidebar:"version-7.0.x/docs",previous:{title:"OAuth Provider Configuration",permalink:"/oauth2-proxy/docs/7.0.x/configuration/oauth_provider"},next:{title:"TLS Configuration",permalink:"/oauth2-proxy/docs/7.0.x/configuration/tls"}},c=[{value:"Cookie Storage",id:"cookie-storage",children:[]},{value:"Redis Storage",id:"redis-storage",children:[]}],l={rightToc:c};functionu(e){vart=e.components,n=Object(r.a)(e,["components"]);returnObject(o.b)("wrapper",Object(i.a)({},l,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"Sessions allow a user's authentication to be tracked between multiple HTTP\nrequests to a service."),Object(o.b)("p",null,"The OAuth2 Proxy uses a Cookie to track user sessions and will store the session\ndata in one of the available session storage backends."),Object(o.b)("p",null,"At present the available backends are (as passed to ",Object(o.b)("inlineCode",{parentName:"p"},"--session-store-type"),"):"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Obj