[engine] Network trial handling minds#4763
Ticket(s) / Related Merge Requests
- Issue card: minds#4763 (closed)
- Front MR: front!2600 (merged)
Summary of Changes
Change it so that on starting a network trial you are automatically logged into your tenant.
Testing Considerations
@markharding some testing of this will need to be conducted on staging.
Sandbox
- Make a new account.
- Go to
/about/networks
. - Create a trial.
- You should be redirected to
/api/v3/multi-tenant/auto-login/login
with a new tenant subdomain, but the page WILL be a 404. - For bonus points, do this with your network tab open and verify the JWT like below
Staging
- Make a new account.
- Go to
/about/networks
. - Create a trial.
- You should be redirected to
/api/v3/multi-tenant/auto-login/login
and be automatically logged into your tenant.
Deployment Considerations
Standard deployment.
Regression Scope
Autologin for tenants and trial start behaviour.
Platform Affected (web, mobile, etc)
Web.
Developer Testing Completed
Manual, unit (phpspec), unit (karma/jasmine).
Screenshots / Screen Recording
simplescreenrecorder-2024-04-09_11.21.36
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