google / google/GoogleSignIn-iOS

How to add prompt: consent to user auth flow?

Ouverte
#112 9 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Objective-C
Étoiles
750
Forks
282
Merge moyen
2 j 15 h
PR mergées (30 j)
9

Description

We need the user to consent on every login attempt and on web you can set prompt = consent. However, I'm having a difficult time trying to achieve this on mobile. Is this implemented and if so, can someone help provide guidance on how to implement this?

![Screen Shot 2022-04-05 at 10 50 59 AM](https://user-images.githubusercontent.com/4956032/161781942-c8e121d5-d6f7-4d50-8cbe-deb5dcaa4aff.png)

Currently, we're doing:

```
private lazy var configuration: GIDConfiguration = {
return GIDConfiguration(clientID: clientID, serverClientID: serverClientId)
}()

GIDSignIn.sharedInstance.signIn(with: configuration,
presenting: rootViewController) { user, error in

}
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.