If a user cancels Apple sign in on Ios device, user must refresh the page to open it again

We are using aws amplify for our social logins with signInWithRedirect.

When a user selects apple login on iphone and cancels the appleId popup, the user can't click any social login buttons anymore, including the apple one.

Refreshing the page resolves this.

If a user cancels Apple sign in on Ios device, user must refresh the page to open it again
 
 
Q