Unexpected native popup during auth login/signout flow

We are implementing authentication login in our iOS mobile application, and during the sign-in/sign-out process, a native system popup appears with the following message:

"This allows the app and website to share information about you."

This popup interrupts the user experience, and we are concerned it may cause confusion for end users and negatively impact the adoption of our login flow.

We would like clarification on the following points:

What triggers this popup during the authentication process?

Are there any recommended configurations or approaches to suppress or avoid this dialog?

If the popup cannot be avoided, what best practices are suggested to ensure a clear and seamless user experience?

Our objective is to provide a smooth, user-friendly authentication flow without unexpected system interruptions.

Answered by DTS Engineer in 891958022

Hi @harshit090891,

You wrote:

What triggers this popup during the authentication process?

This is not the native authentication flow via the Authentication Services framework or the SignInWithAppleButton in SwiftUI. This alert is presented due to the web auth flow—using the Sign in with Apple REST API, instead of the native API flows mentioned above.

If you follow the guidance in the sample code project below, the authentication flow will be presented without an explicit user confirmation to authenticate against the Services ID. This is because the native auth flow is already validated against the app's bundle ID (used as the Client ID).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @harshit090891,

You wrote:

What triggers this popup during the authentication process?

This is not the native authentication flow via the Authentication Services framework or the SignInWithAppleButton in SwiftUI. This alert is presented due to the web auth flow—using the Sign in with Apple REST API, instead of the native API flows mentioned above.

If you follow the guidance in the sample code project below, the authentication flow will be presented without an explicit user confirmation to authenticate against the Services ID. This is because the native auth flow is already validated against the app's bundle ID (used as the Client ID).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Unexpected native popup during auth login/signout flow
 
 
Q