SimpleAuth icon indicating copy to clipboard operation
SimpleAuth copied to clipboard

SimpleAuthGoogleWebProvider.m: do not crash if account fields are not…

Open jbicket opened this issue 10 years ago • 2 comments

I have been using this and got a crash when I logged in for the first time. Google did not populate all the values, and objectForKey (which is what the assignment does below) cannot handle null values so the library would crash.

My profile came back as: info = { email = "[email protected]"; "first_name" = John; image = "https://lh5.googleusercontent.com/-hTUulT9CemI/AAAAAAAAAAI/AAAAAAAAABs/o6pMlpQ0Lvk/photo.jpg"; "last_name" = Bicket; name = "John Bicket"; verified = 1; };

jbicket avatar Jun 26 '15 00:06 jbicket

+1

konradholub avatar Nov 11 '15 20:11 konradholub

+1

plzen avatar Mar 01 '16 10:03 plzen