willowtreeapps / sign-in-with-apple-button-android

An Android library for Sign In with Apple
MIT License
283 stars 68 forks source link

callback won't work and view doesn't close #68

Closed simonesummo closed 1 year ago

simonesummo commented 4 years ago

I'm getting the error chromium: [INFO:CONSOLE(169)] "Scripts may close only the windows that were opened by them."

Aye-Myat-Mon commented 4 years ago

same here! have you found any solution?

jcchikikomori commented 4 years ago

same here! have you found any solution?

I found the culprit. Apple returns the redirect URL with one specific change. The /handler was replacing into a /result which is it became false on the url.toString().contains(...) condition Check my latest fork.