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

SaaS Configuration module #207

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

SaaS Configuration module #207

wants to merge 2 commits into from

Conversation

jptissot
Copy link
Contributor

@jptissot jptissot commented Mar 18, 2021

Fixes #191

Todo:

  • Automatic Authority Uri configuration
  • Automated testing

@jptissot jptissot changed the title Saas auth SaaS Configuration module Mar 18, 2021
@jptissot jptissot added the wait-to-merge Wait to merge these as they still require some work and testing label Mar 22, 2021
@jptissot
Copy link
Contributor Author

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++)
Copy link
Contributor Author

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");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elaborate on this test.

Copy link
Contributor Author

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.

@jptissot jptissot removed the wait-to-merge Wait to merge these as they still require some work and testing label Apr 8, 2021
@jptissot
Copy link
Contributor Author

jptissot commented Apr 8, 2021

Some things left on this PR

  • Improve documentation
  • Switch the Recipe execution to a separate feature
  • Comprehensive tests
  • Create follow up tickets

@jptissot
Copy link
Contributor Author

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());
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ActivateShell = false

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

Successfully merging this pull request may close these issues.

OpenID Multitenant SaaS configuration
1 participant