You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main issue is that when usePopup gets open, it send an authorize request, which is successful but then the popup remains there. It doesn't close automatically and the onSuccess never gets trigger and I don't even receive anything on redirectURI (which is my backend's URL). I am using NestJs for backend and ReactJs for frontend.
If I set the usePopup as false, then I receive the request on my backend's api (redirect uri)
The text was updated successfully, but these errors were encountered:
dev-mohsinm
changed the title
Popup is not getting closed on its own.
Popup is not getting closed on its own and onSuccess is not triggering.
Jan 22, 2025
If you are using a backend to complete the login flow, usePopup: true will not work since it attaches "response_mode" as "web_message", the redirectUri will not be performed.
In my backend I am managing the redirectUri that apples POST to my server when the response mode is set to "form_post".
Basically that code you have will not work.
Maybe you can get an idea to the linked repo: https://github.com/A-Tokyo/apple-signin-auth
This is my code
The main issue is that when usePopup gets open, it send an authorize request, which is successful but then the popup remains there. It doesn't close automatically and the onSuccess never gets trigger and I don't even receive anything on redirectURI (which is my backend's URL). I am using NestJs for backend and ReactJs for frontend.
If I set the usePopup as false, then I receive the request on my backend's api (redirect uri)
The text was updated successfully, but these errors were encountered: