tat_flutter icon indicating copy to clipboard operation
tat_flutter copied to clipboard

Feature: Setup dev gatway for platform store revewer use

Open Xanonymous-GitHub opened this issue 2 years ago • 0 comments

Description

At present, when we submit the app for review, we need to provide a test account for testers. Since the school did not provide us with such an test account, we can only use our own account as a test account, which will trigger the account Risk of data leakage of the holder. For this reason, we should make an account proxy mechanism. When logging in to the App in a certain way or with a specific set of custom test accounts, it will actually go to the firebase store to obtain the login data of the real account (for example: cookies) so that the App can then log in to the school. In this way, it is possible to avoid directly exposing real account numbers and passwords to app reviewers and related platforms.

How to implement?

Study what account data (eg. cookies) the app currently stores after logging in, and then implement the firebase cloud function to reproduce the login steps and return the data to the app so that it can log in again.

App(using specific test account number) ==>> cloud function ==> login ==> send the credentials back to the app ==> app login

Xanonymous-GitHub avatar Aug 31 '22 19:08 Xanonymous-GitHub