Hi @surya
Thank you for reaching out!
It looks like the screenshot mentioned did not get uploaded unfortunately, as I cannot see it, but one common error message in these situations would be " Sign-up not completed", which would be caused by configuration issues and mismatch between the IDs/secrets.
I recommend looking over our Knowledge Article covering Native sign-in with Apple ID fails with “Sign-up not completed” and follow the steps outlined. Hopefully these will resolve the issue at hand, but let us know if you continue encountering the same error message.
Hope this helped!
Gerald