1

I am using AppAuth (0.95) to access google mail on my IOS app. Before redirecting to google sign-in, i get an alert with this message.

'Appname' wants to use google.com to sign in. This allows the app and website to share information about you

'appname' wants to use google.com to sign in.

Looks like Appname is the apps bundle name. Is it possible to change it to the apps display name. Or not have the alert at all?

SomeGuyFortune
  • 1,024
  • 13
  • 26
  • you can use display name instead of bundle identifier – Himanshu Moradiya Nov 20 '18 at 03:35
  • When creating the `OIDAuthorizationRequest`? I am using this [example](https://github.com/openid/AppAuth-iOS/blob/master/Examples/Example-iOS_Swift-Carthage/Source/AppAuthExampleViewController.swift). At what point do i specify the display name? – SomeGuyFortune Nov 20 '18 at 04:03
  • you have to change the app display name in google console your project display name and that affect directly here – Himanshu Moradiya Nov 20 '18 at 04:23
  • doesn't look like there is anything on google console to change the display name on this alert. I can change the `consent screen` which shows up after i click `continue` on this screen – SomeGuyFortune Nov 20 '18 at 05:22
  • do you have any screen shots or anything that could point me in the right direction? – SomeGuyFortune Nov 20 '18 at 05:24

2 Answers2

1

In short, you can go to "Build Settings" and change the "Product Name."

enter image description here

There's also a similar question here:

kgaidis
  • 14,259
  • 4
  • 79
  • 93
0

The alert dialog is as a result of using SFAuthenticationSession. It cannot be edited or bypassed. Unless you rename your project

SomeGuyFortune
  • 1,024
  • 13
  • 26