Closed serra-caio closed 3 years ago
Sorry right now there is no support of Popup.
@patelmayankce With the way the code is implemented, it looks it could entail some code refactoring to support the popup option. https://github.com/patelmayankce/react-apple-login/blob/master/src/index.tsx#L50
By using the Javascript SDK provided by Apple, we can support the popup option. https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/configuring_your_webpage_for_sign_in_with_apple
@ohpyupi ,Sorry for very late reply, You are right Apple is now supporting popup option.
@patelmayankce If you're too busy you can assign it to me :) I'll add the popup option over the weekend.
@marcin-wicha , If you can help anyhow, that would be appreciated.
I already did some code but after successful authentication popup wasn't closed automatically. I will push that code into a new branch and share it with you.
I kept getting the same issue but found a solution in this thread Sign in with apple js use popUp. For popup, the redirect url should be the root domain.
Thanks @muth0mi, i will check quickly and release the new version with support of popup.
@serra-caio @marcin-wicha @muth0mi usePopup option added https://www.npmjs.com/package/react-apple-login/v/1.1.1
Guys thanks for the help.
Is there a way to enable the usePopup option?
Thanks