Posts

Post not yet marked as solved
0 Replies
1.3k Views
I am using IPhone X for "sign in with apple" with iOS 13.I have apple React native app when the app is not linked with any apple ID, then the flow worked fine for the first time.Tapping on the login button in the app opens up a login webview. On the login web page, clicking on "sign in with apple" shows IOS native popup to continue with account already linked with the app. When continue button is tapped, a white screen is displayed which freezes on appleid.apple.com and nothing happens.1. The white screen was actually happening due to security reasons. As per Charles log analysis, when auth/apple endpoint is navigated from appleid.apple.com and Referer - https://appleid.apple.com/auth/authorize?client_id=clientId&redirect_uri=https%3A%2F%2Fqa-login.abc.com%2Fauth%2Fapple&response_type=code&scope=openid%20name%20email&state=vD_JRPr950F_HohfO5TnVBymVQdYoYXYb8wPPDn1tT0h7QXszEtytRy0dGMn24YrCVIwKGszXPSI9NS0G6YHmxpPU_2Qh1YdU6wgHODiZxdSNbA8Tn-IlGJFToYTlUNPPu6EFEEuPRmBYO0Dnd5mN5NQeAHMIuPK0KT-BhqsLE7tD9bV42m43mQmee7uqBYtHA0UU1S_RbL0ad0MSapReiUgZSEAX4xS90dmRhssWfWQZXSsEpWv_xgXX64nVclx9ZMlZTDe7zwdpDLJfFAydem3QdBhzAMGHK8Fm_gUn3UUQRIyvOtHmgJu9uBzLiX8n81s0EB7U0PlmfkTAtYccG1EHi5l1WrVQFQrg7rjUsM6Me3E9iNBPAPRJUdxuLrH2VG901AZkw7FjaiR13nKJiznJoMwn26xdjDmymUw6dOMh8IpDndG43OjS-YhjSpsoqG_k2u2F3Ap7P9bLUZiZw&response_mode=form_postThe cookie was ignored.2. However, in a similiar scenario when the Referer was https://appleid.apple.com the cookie was entertained and flow executed successfully without white screen.My question is - Why Safari did not entertain cookie for Referer value in #1, but works fine for #2? This could be a flaw in Safari.Is there any iOS system log where such kind of error messages are logged, please suggest?
Posted Last updated
.