Skip to content

Commit f01068e

Browse files
Update auth-oidc-proxy/auth/index.mjs
Co-authored-by: Sascha Schwarze <[email protected]>
1 parent 8694309 commit f01068e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-oidc-proxy/auth/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ router.get("/auth/login", (req, res) => {
275275
// redirect to the configured OIDC provider
276276
res.redirect(
277277
`${process.env.OIDC_PROVIDER_AUTHORIZATION_ENDPOINT}?client_id=${
278-
process.env.OIDC_CLIENT_ID
278+
encodeURIComponent(process.env.OIDC_CLIENT_ID)
279279
}&redirect_uri=${encodeURIComponent(
280280
process.env.OIDC_REDIRECT_URL
281281
)}&response_type=code&scope=openid+profile&state=state`

0 commit comments

Comments
 (0)