uber / rides-ios-sdk

Uber Rides iOS SDK (beta)
https://developer.uber.com/docs
MIT License
371 stars 123 forks source link

Error Domain=com.uber.rides-ios-sdk.ridesAuthenticationError Code=19 #269

Open Zulqurnain24 opened 4 years ago

Zulqurnain24 commented 4 years ago

Hi, I have followed the procedure listed for uber sdk configuration page https://developer.uber.com/docs/riders/ride-requests/tutorials/api/ios but I am getting this error

"Error Domain=com.uber.rides-ios-sdk.ridesAuthenticationError Code=19 "The Redirect URI provided did not match what was expected." UserInfo={NSLocalizedDescription=The Redirect URI provided did not match what was expected."

when I use this syntax "let loginManager = LoginManager() loginManager.login(requestedScopes:[.request], presentingViewController: self, completion: { accessToken, error in // Completion block. If accessToken is non-nil, you’re good to go // Otherwise, error.code corresponds to the RidesAuthenticationErrorType that occured })"

Can someone help me with this. Thanks in advance.