❗Sign in with Apple - Button Not Respond after Closing Native Popup #14198
Labels
pending-maintainer-response
Issue is pending a response from the Amplify team.
pending-triage
Issue is pending triage
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
Amplify Gen 2
Environment information
Describe the bug
Click the HTML button to sign In with apple, after closing the native popup, the button will no longer respond.
This issue occurs on an iPhone's web browser (e.g., Safari) where a native popup appears instead of redirecting to Apple account Sign In web page.
amplify.mp4
Expected behavior
Click the button to sign In with apple, after closing the native popup, the button should still function.
Reproduction steps
auth.mysite.com
aws-amplify
and@aws-amplify/adapter-nextjs
signInWithRedirect({ provider: 'Apple' })
npm run dev
http://localhost:3000/login
on iPhone web browser (eg. Safari), or deploy your website to production and visithttps://www.mysite.com/login
Code Snippet
app/login/page.tsx
components/AmplifyConfigureClient.tsx
app/layout.tsx
Log output
aws-exports.js
No response
Manual configuration
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: