Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config multi domains for MFE #237

Open
huyvt-2722 opened this issue Nov 14, 2024 · 1 comment
Open

Config multi domains for MFE #237

huyvt-2722 opened this issue Nov 14, 2024 · 1 comment

Comments

@huyvt-2722
Copy link

Has anyone successfully setup multiple domains for MFE? Maybe we can discuss
I am trying to setup multiple domains for MFE, but I am stuck on where to find the following json
{'BASE_URL': 'apps.local.edly.io', 'CSRF_TOKEN_API_PATH': '/csrf/api/v1/token', 'CREDENTIALS_BASE_URL': '', 'DISCOVERY_API_BASE_URL': '', 'FAVICON_URL': 'http://local.edly.io/favicon.ico', 'INFO_EMAIL': '[email protected]', 'LANGUAGE_PREFERENCE_COOKIE_NAME': 'openedx-language-preference', 'LMS_BASE_URL': 'http://local.edly.io:8000', 'LOGIN_URL': 'http://local.edly.io:8000/login', 'LOGO_URL': 'http://local.edly.io:8000/theming/asset/images/logo.png', 'LOGO_WHITE_URL': 'http://local.edly.io:8000/theming/asset/images/logo.png', 'LOGO_TRADEMARK_URL': 'http://local.edly.io:8000/theming/asset/images/logo.png', 'LOGOUT_URL': 'http://local.edly.io:8000/logout', 'MARKETING_SITE_BASE_URL': 'http://local.edly.io:8000', 'PASSWORD_RESET_SUPPORT_LINK': 'mailto:[email protected]', 'REFRESH_ACCESS_TOKEN_ENDPOINT': 'http://local.edly.io:8000/login_refresh', 'SITE_NAME': 'My Open edX-----------', 'STUDIO_BASE_URL': 'http://studio.local.edly.io:8001', 'USER_INFO_COOKIE_NAME': 'user-info', 'ACCESS_TOKEN_COOKIE_NAME': 'edx-jwt-cookie-header-payload', 'DISABLE_ENTERPRISE_LOGIN': True, 'ACCOUNT_SETTINGS_URL': 'http://apps.local.edly.io:1997/account/', 'COURSE_AUTHORING_MICROFRONTEND_URL': 'http://apps.local.edly.io:2001/course-authoring', 'ENABLE_ASSETS_PAGE': 'true', 'ENABLE_HOME_PAGE_COURSE_API_V2': 'true', 'ENABLE_PROGRESS_GRAPH_SETTINGS': 'true', 'ENABLE_TAGGING_TAXONOMY_PAGES': 'true', 'DISCUSSIONS_MFE_BASE_URL': 'http://apps.local.edly.io:2002/discussions', 'LEARNING_BASE_URL': 'http://apps.local.edly.io:2000', 'ACCOUNT_PROFILE_URL': 'http://apps.local.edly.io:1995/profile', 'SCHEDULE_EMAIL_SECTION': True}
it seems to be somewhere but not in the database or maybe I am looking in the wrong place
Can someone show me where the above json is? I have spent days searching with no results
I have read the source code looking for the answer but still no results.

@zameel7
Copy link
Contributor

zameel7 commented Nov 18, 2024

This is there in the settings file. You can search for MFE_CONFIG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants