Why does SFAuthenticationSession consent alert show Xcode project name instead of App name?

924 Views Asked by At

I'm using SFAuthenticationSession to authenticate via OAuth2.

The consent the user has to agree displays the following message as an alert:

"[Xcode-Project-Name]" Wants to Use "[Server-URL]" to Sign In. This allows the app and website to share information about you.

Why isn't the App Display Name being mentioned?

Will it be the App name after App Store submission?

1

There are 1 best solutions below

0
Vlad Grigorov On BEST ANSWER

SFAuthenticationSession uses Product name for App Store apps too. It is deprecated in iOS 12 in favor of the new ASWebAuthenticationSession. Let's hope it is fixed to use app Display name instead.