diff --git a/.werft/values.dev.yaml b/.werft/values.dev.yaml index 5ddf101e144552..49a1012342e05d 100644 --- a/.werft/values.dev.yaml +++ b/.werft/values.dev.yaml @@ -31,6 +31,7 @@ components: makeNewUsersAdmin: true # for development theiaPluginsBucketName: gitpod-core-dev-plugins enableLocalApp: true + enableOAuthServer: true blockNewUsers: true blockNewUsersPasslist: - "gitpod.io" diff --git a/chart/templates/server-deployment.yaml b/chart/templates/server-deployment.yaml index 9761f9d4d7827c..0a6795bd84ff46 100644 --- a/chart/templates/server-deployment.yaml +++ b/chart/templates/server-deployment.yaml @@ -170,6 +170,10 @@ spec: - name: ENABLE_LOCAL_APP value: "true" {{- end }} + {{- if $comp.enableOAuthServer }} + - name: ENABLE_OAUTH_SERVER + value: "true" + {{- end }} {{- if $comp.portAccessForUsersOnly }} - name: PORT_ACCESS_FOR_USERS_ONLY value: "true" @@ -216,6 +220,8 @@ spec: key: apikey - name: GITPOD_GARBAGE_COLLECTION_DISABLED value: {{ $comp.garbageCollection.disabled | default "false" | quote }} + - name: OAUTH_SERVER_JWT_SECRET + value: {{ (randAlphaNum 20) | quote }} {{- if $comp.serverContainer.env }} {{ toYaml $comp.serverContainer.env | indent 8 }} {{- end }} diff --git a/components/dashboard/public/complete-auth/index.html b/components/dashboard/public/complete-auth/index.html index 7e87db0dc735d6..c2478233670782 100644 --- a/components/dashboard/public/complete-auth/index.html +++ b/components/dashboard/public/complete-auth/index.html @@ -11,7 +11,12 @@