Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

SimpleAuthFoursquareWebLoginViewController#initialRequest method isn't loading parameters correctly #134

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions