Forum Xamarin.Android

Xamarin.Auth sign in displays wrong app name

BrianConradBrianConrad USMember ✭✭✭
edited May 21 in Xamarin.Android

When I use Xamarin.Auth to sign in it displays the wrong app name:
Choose Account to sign in to (a wrong app name displayed here instead of the app's name)

The Google Drive API key is set up for the correct package name. There was a sample that I setup a client key for back in 2017 with the name that is getting displayed. I'm wondering if I need to create another Google Drive API key? Anyone else running into this? The app is correctly uploading and downloading files from Google Drive it's just that the name is wrong for the sign in prompt (which might freak users out).

Best Answer

  • BrianConradBrianConrad US ✭✭✭
    Accepted Answer

    Thanks. Actually that was setup correctly but the OAuth Consent Screen had the test project name and I changed it to the app name and it's okay now.

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    The name displayed there doesn't depend on the project you are developing.
    It depends on the Google portal where you register the project:

    You will find the corresponding project name there on the Google portal.

  • BrianConradBrianConrad USMember ✭✭✭
    Accepted Answer

    Thanks. Actually that was setup correctly but the OAuth Consent Screen had the test project name and I changed it to the app name and it's okay now.

Sign In or Register to comment.