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

[ANCHOR- 474] Update SEP10.home_domain to accommodate multi-tenancy #1169

Merged

Conversation

JiahuiWho
Copy link
Contributor

@JiahuiWho JiahuiWho commented Oct 19, 2023

Description

Add home_domains to SEP-10 to take a list of domains,
Rename Sep10Config::getHomeDomain() to Sep10Config::getHomeDomains() to always return a list of available domains
home_domain and home_domains cannot coexist in Sep10Config, this is comment in default-value.yml, also enforced in validation rules
web_auth_domain will be required if there are more than 1 home domain specified in home_domains

Context

The SDP multi-tenant integration will rely on multiple toml files, so we’ll need the Anchor Platform to accommodate that by allowing multiple home_domains to be configured, in the format of a comma-separated list of domains.

Testing

  • ./gradlew test

@JiahuiWho JiahuiWho marked this pull request as ready for review October 19, 2023 20:44
@JiahuiWho JiahuiWho requested a review from lijamie98 October 20, 2023 01:55
Copy link
Collaborator

@lijamie98 lijamie98 left a comment

Choose a reason for hiding this comment

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

LGTM

@JiahuiWho JiahuiWho merged commit 462db42 into stellar:develop Oct 24, 2023
5 checks passed
@JiahuiWho JiahuiWho deleted the anchor-474-sep10-multi-tenant-homedomain branch October 24, 2023 16:56
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.

2 participants