-
Notifications
You must be signed in to change notification settings - Fork 12
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
SaaS Configuration module #207
base: master
Are you sure you want to change the base?
Conversation
src/Modules/StatCan.OrchardCore.SaaSConfiguration/Drivers/SaaSConfigurationDisplayDriver.cs
Show resolved
Hide resolved
src/Modules/StatCan.OrchardCore.SaaSConfiguration/Services/SaaSConfigurationService.cs
Show resolved
Hide resolved
src/Modules/StatCan.OrchardCore.SaaSConfiguration/Services/SaaSConfigurationService.cs
Show resolved
Hide resolved
src/Modules/StatCan.OrchardCore.SaaSConfiguration/Services/SaaSConfigurationService.cs
Show resolved
Hide resolved
src/Modules/StatCan.OrchardCore.SaaSConfiguration/Services/SaaSConfigurationService.cs
Show resolved
Hide resolved
Todo: Switch the Recipe execution to a separate feature + add Zip recipe execution. |
<div class="form-group" asp-validation-class-for="SelectedTenantNames"> | ||
<label asp-for="SelectedTenantNames">@T["Tenants"]</label> | ||
<div class="row"> | ||
@for (var i = 0; i < Model.AllTenants.Count; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a Razor component for this as it might be useful for many different views
|
||
it("SaaSConfiguration module sets up the openid server properly", function() { | ||
cy.login(tenant); | ||
cy.enableFeature(tenant, "StatCan_OrchardCore_SaaSConfiguration_Client"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elaborate on this test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should test the default tenant settings update.
Some things left on this PR
|
Fails on first load, had to save the settings of the server. Had to load the OpenId server settings page and hit save for the configuration to work. |
authority = saasConfigurationSettings.Authority; | ||
|
||
await saasConfigurationService.UpdateRedirectUris(currentUri.ToString()); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ActivateShell = false
Fixes #191
Todo: