From 7b5cdbb285062afaa6ffe96b5421ee551a5dccac Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sat, 26 Jul 2025 20:30:29 +0200 Subject: [PATCH] Fixed various issues with dynamic redirect uris and custom theme loading --- frontend/public/config.json | 2 +- frontend/src/App.vue | 42 +------------------ .../src/layouts/connected/ConnectedLayout.vue | 38 +++++++++++++++++ frontend/src/stores/auth.store.js | 4 +- modoboa/core/api/v2/serializers.py | 2 +- 5 files changed, 43 insertions(+), 45 deletions(-) diff --git a/frontend/public/config.json b/frontend/public/config.json index 5de521980..4738ed2e7 100644 --- a/frontend/public/config.json +++ b/frontend/public/config.json @@ -4,5 +4,5 @@ "OAUTH_AUTHORITY_URL": "https://localhost:8000/api/o", "OAUTH_CLIENT_ID": "LVQbfIIX3khWR3nDvix1u9yEGHZUxcx53bhJ7FlD", "OAUTH_REDIRECT_URI": "/login/logged", - "OAUTH_POST_REDIRECT_URI": "https://localhost:3000/" + "OAUTH_POST_REDIRECT_URI": "/" } diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 8d13ca90b..84c12b591 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -4,44 +4,4 @@ - + diff --git a/frontend/src/layouts/connected/ConnectedLayout.vue b/frontend/src/layouts/connected/ConnectedLayout.vue index 2f9a0b60c..18a32ab24 100644 --- a/frontend/src/layouts/connected/ConnectedLayout.vue +++ b/frontend/src/layouts/connected/ConnectedLayout.vue @@ -24,14 +24,17 @@