Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

When implementing Google Sign-In on iOS, is it possible to indicate in the google account sign-in popup that only email address will be used?

Offen
#458 5 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Ruhig
Tech-Stack
ios, swift

Rechercherichtung

Beginne mit dem Anmeldeablauf von GoogleSignIn-iOS und dem Swift-Aufruf mit dem zusätzlichen Bereich userinfo.email. Prüfe, wie das SDK angeforderte und standardmäßige Kontoinformationen im Popup anzeigt, und bilde dieses Verhalten auf iOS nach. Als erledigt gilt, festzustellen, ob die Einwilligungsanzeige auf die E-Mail-Adresse beschränkt werden kann, und das unterstützte Verhalten oder die Konfiguration zu dokumentieren.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement good first issue

Describe the bug
When implementing Google Sign-In on iOS, is it possible to indicate in the google account sign-in popup that only email address will be used?

To Reproduce
Steps to reproduce the behavior:

  1. Implement google sign in using GoogleSignIn-iOS library
  2. Build the app and press the google sign up button to proceed with the signup process.
  3. In the google account integration popup, you will see that “name, email address, profile picture” are accessible in the user's account.

Expected behavior
I only need the user's email address. I want the popup to show the user that it only uses the email address.
As I understand it, name, email address, profile picture are the default public information in google account. However, I will only use the user's email address in my app via google sign-up, and I want the popup to show only the email address.
Is this possible?

Screenshots
image

Environment

  • Device: any iPhone
  • OS: any iOS
  • Browser: N/A

Additional context
I've tested it without passing scope in the sign in request, and I've tested it with explicitly adding only userinfo.email as scope, but in both cases the sign-in popup shows that name, email address, profile picture are accessible. I want only the email address to be marked as accessible.

let additionalScopes = ["https://www.googleapis.com/auth/userinfo.email"] 
GIDSignIn.sharedInstance.configuration = config
GIDSignIn.sharedInstance
  .signIn(withPresenting: rootViewController, hint: nil, additionalScopes: additionalScopes) { 
      ...
   }
Vorherrschende Sprache
Objective-C
Sterne
756
Forks
283
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus google/GoogleSignIn-iOS

Alle Issues in google/GoogleSignIn-iOS

Ähnliche Issues

Weitere Issues zu Objective-C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.