You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-06 06:02:40 +03:00
Make sure the upstream OAuth callback pages are proxied to the backend
This commit is contained in:
@@ -168,7 +168,7 @@ export default defineConfig((env) => ({
|
|||||||
base: "/account/",
|
base: "/account/",
|
||||||
proxy: {
|
proxy: {
|
||||||
// Routes mostly extracted from crates/router/src/endpoints.rs
|
// Routes mostly extracted from crates/router/src/endpoints.rs
|
||||||
"^/(|graphql.*|assets.*|\\.well-known.*|oauth2.*|login.*|logout.*|register.*|reauth.*|add-email.*|verify-email.*|change-password.*|consent.*|_matrix.*|complete-compat-sso.*|link.*|device.*)$":
|
"^/(|graphql.*|assets.*|\\.well-known.*|oauth2.*|login.*|logout.*|register.*|reauth.*|add-email.*|verify-email.*|change-password.*|consent.*|_matrix.*|complete-compat-sso.*|link.*|device.*|upstream.*)$":
|
||||||
"http://127.0.0.1:8080",
|
"http://127.0.0.1:8080",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user