-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Unable to initialise multitenancy to the Blazor App #16829
Comments
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
@psijkof works on something similar if I remember |
Yes, thank you for reminding me to highlight an important issue. Orchard Core always listens to / (also a tenant root, e.g. /firsttenant/). Therefore, to avoid conflicts (between oc routing and blazor routing) and get expected orchard responses, change your home.razor page, to use
HTH |
@psijkof Thank you, that has helped resolved the issue I was having . Very much appreciate the quick response! |
Describe the bug
Orchard Core version
Contentmanagement - version 2.0.2
Following the guide - https://docs.orchardcore.net/en/latest/guides/create-blazor-cms/#__tabbed_4_2
To Reproduce
Steps to reproduce the behaviour:
I followed the guide - "Create a Decoupled CMS site with a .NET Blazor Application (Server Side)
I get to the stage "Add multitenancy to the Blazor App" and create the FirstTenant example, which is created but when i try to set it up it takes me straight to "https://localhost:XXXX/tenant01?token=....." and skips the "Setup" page therefore none of the database tables are created
Expected behaviour
I would expect it to follow the guide and take me to the Setup page (unless I am misunderstanding how Multitenancy works)
Logs and screenshots
Not too sure what logs would be applicable but can provide if needed
The text was updated successfully, but these errors were encountered: