Skip to content

Tenant domain check on autologin minds#4718

Ben requested to merge feat/ten-domain-check-m4718 into master

Ticket(s) / Related Merge Requests

Summary of Changes

"Go to network" directs to Minds subdomain when domain configuration is not successful.

Testing Considerations

Note - you may get errors on sandbox when going to any subdomains / custom domains - we need to check that the URL is correct for the situation.

Getting domains into these states may be very tricky on sandbox; ideally we will test on staging, as I have provided videos of the below testplan below, assembled by value swapping domains in the database. I can demo this on the same account again if a screenshare is preferred.

  • When a valid configured domain is navigated to via auto-login, you are navigated to the custom domain.
  • When an invalid configured domain is navigated to via auto-login, you are navigated to the subdomain.
  • When an no domain is configured, you are navigated to the subdomain.

Deployment Considerations

Standard deployment.

Regression Scope

Auto-login mechanism for networks.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (phpspec).

Screenshots / Screen Recording

When a valid configured domain is navigated to via auto-login, you are navigated to the custom domain.

simplescreenrecorder-2024-04-11_15.54.34

When an invalid configured domain is navigated to via auto-login, you are navigated to the subdomain.

simplescreenrecorder-2024-04-11_15.57.38

When an no domain is configured, you are navigated to the subdomain.

simplescreenrecorder-2024-04-11_15.58.03

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports