google / google/GoogleSignIn-iOS

How to add prompt: consent to user auth flow?

Đang mở
#112 9 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
750
Fork
282
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
9

Mô tả

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

}
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.