GoogleSignIn-iOS icon indicating copy to clipboard operation
GoogleSignIn-iOS copied to clipboard

Add additional GIDSignInErrorCode when access to resources is denied

Open Vaidios opened this issue 3 years ago • 1 comments

Hey

Currently, when access to resources is denied, GoogleSignIn return "kGIDSignInErrorCodeUnknown" with description "access_denied". Can we create an additional case called "kGIDSignInErrorCodeAccessDenied", which would be mapped from "OIDErrorCodeOAuthAccessDenied"?

In my case it would help a lot, as we send analytics events when user doesn't authorise access to resources.

Vaidios avatar Feb 08 '22 10:02 Vaidios

@Vaidios thanks for the suggestion. We'll take a look at this for the next major release as it would be a breaking change.

petea avatar Mar 17 '22 04:03 petea