Create a second auth status function, 'queryAuthStatus2' (keeping the deprecated one for backwards compatibility)
Temporarily use 'queryAuthStatus2' as 'CloudFunction.QueryAuthStatus' enum value (seamlessly integrating with the rest of the app)
Add an e2e test testing that the redirects work as before the update (single secret key logic)
TODO: Remove the old 'queryAuthStatus' and replace with 'queryAuthStatus2' (after some grace period)
TODO: Update the app functionality creating 'select_account' page and redirecting to it (in case of multiple accounts under management by same auth string)
TODO: Reflect the update in e2e tests
This is the first pass at the single-auth multiple athletes functionality. Everything starts with the queryAuthStatus cloud function. This PR creates a new function (queryAuthStatus2) to be used temporarily, while leaving the original function for backwards compatibility. After some grace period the initial function will be replaced with the new one.
This is the first pass at the single-auth multiple athletes functionality. Everything starts with the
queryAuthStatus
cloud function. This PR creates a new function (queryAuthStatus2
) to be used temporarily, while leaving the original function for backwards compatibility. After some grace period the initial function will be replaced with the new one.