SimpleAuth
SimpleAuth copied to clipboard
SimpleAuthFoursquareWebLoginViewController#initialRequest method isn't loading parameters correctly
So the parameters dictionary in the initialRequest method of SimpleAuthFoursquareWebLoginViewController keeps throwing the following error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
When I hardcode the values of parameters with my own client_id and redirect_uri everything works as expected. So it looks like the problem lies in retrieving the dictionary that is passed to SimpleAuth.configuration[@"foursquare-web"]; that is, self.options[@"client_id"] and self.options[SimpleAuthRedirectURIKey] are both returning nil values.
Thanks