Make staging secure endpoint toggle on staging #5119
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details
Staging versions of the apps are not able to connect with Plaid test credentials in the native apps because we always use the
.env.production
credentials there. This change is necessary so that we can ask QA (and internal testers) to test the VBA flow in TestFlight and Google Play store versions of the app.Fixed Issues
$ #5075
Tests
Tested that the app continued to work normally on dev builds + web. The specific change here is not easy to test locally since the app needs to be a "beta" version. But we can force it by applying this diff:
Keep in mind that if you do this then you will effectively be pointing the built app at the staging server and you won't be authenticated. So in order to test this you should also edit your
.env
to use the production credentials and then verify that the staging secure server is getting hit instead of production when following the rest of QA steps.QA Steps
Chase
user:user_good
pass:pass_good
)Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android