-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Hi everyone,
I was wondering why this strange behavior happen in my project : every time I try to re-connect to an account I already logged into, the Google Explorer (whom already know my password) keep asking me authorizations, even if it's my 3rd login to the same account.
If I take a look at the Google documentation, it shouldn't be asking me permission over time :
Before making the first authenticated call, the Explorer asks you to choose which scope you would like to use when granting it access to your data.
Here's the code responsible for the login, but I guess this behavior doesn't come from him :)
let google = Google()
google.scopes = ["email"]
google.login { [unowned self] (accessToken, error) in
if let token = accessToken {
print("Call Google API with token : \(token)")
}
}So I was wondering if you guys know about that, and if a workaround exists :)
Thank you!
Jérôme
Metadata
Metadata
Assignees
Labels
No labels