AmericaSCORESBayArea / AmericaScores-CoachApp

React native based mobile app for Americas scores attendance management
5 stars 2 forks source link

Login with Apple shows incorrect and incomplete dialog every time #480

Open CritiqalPete opened 3 months ago

CritiqalPete commented 3 months ago

the option to login with the users device ID (login with Google or login with Apple) sends that user's ID to firebase where it is verified via the AuthAPI on Salesforce. If a Coach record has this in their primary email field, it will authenticate.

To observe this bug: PART I

  1. launch the app
  2. at the home screen, choose the login with Apple option
  3. Note the dialog tells the user their ID is not found.

Image EXPECTATION PART 1 If the user has logged in with this method, then this dialog should not appear.

  1. Tap Continue
  2. Complete the login process and view the default screen

EXPECTATION PART 2 the dialog needs a TITLE and the text should say: If there is an America SCORES account associated with this ID then proceed and agree to share it, if prompted. If it is not found, you will need to contact your Program Manager to get the ID added to your record.

If the ID is not found by the AuthAPI, then the dialog should appear and let the user try another method. Your ID is not found. Please contact your Program Manager to get your ID added to your Coach record. You may also login using one of the other methods.

CritiqalPete commented 3 months ago

this needs research