uber-api

Uber API iOS OAuth 2.0

纵饮孤独 提交于 2019-12-01 11:04:42
I was trying to make a iOS which will use the Uber API to do things like get rides and what not. I am trying to implement the OAuth 2.0 on the iPhone without using any server side help. Is that possible? Has anyone done this? Here are some references: Uber Authentication: https://developer.uber.com/v1/auth/ Oauth 2.0: https://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified Yes, this is possible. I was able to configure OAuth2 for my app using Uber API. Here are step-by-step instructions: In your app, redirect to https://login.uber.com/oauth/authorize with your client_id and response

Uber API iOS OAuth 2.0

烂漫一生 提交于 2019-12-01 07:29:51
问题 I was trying to make a iOS which will use the Uber API to do things like get rides and what not. I am trying to implement the OAuth 2.0 on the iPhone without using any server side help. Is that possible? Has anyone done this? Here are some references: Uber Authentication: https://developer.uber.com/v1/auth/ Oauth 2.0: https://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified 回答1: Yes, this is possible. I was able to configure OAuth2 for my app using Uber API. Here are step-by-step

SFSafariViewController Remove OAuth2 Cookie

三世轮回 提交于 2019-11-30 08:24:48
I have an iOS application that authenticates with Uber API using OAuth2 in a UIWebView . When upgrading to iOS 9, I run in to the issue of ATS blocking the https request for the login page. I then added an exception for the Uber login page, but then noticed the login page makes several other requests to Facebook, Amazon Web Services, and other websites, all getting blocked by ATS. I don't want to have to maintain a list of exceptions for the the Uber login page, as Uber can easily change their page and my app won't have the correct exceptions. So I decided to give SFSafariViewController a shot

This endpoint requires at least one of the following scopes: all_trips_lite, request, all_trips

末鹿安然 提交于 2019-11-29 17:50:12
I am doing authentication from Uber SDK https://sandbox-api.uber.com/v1.2/requests/current but when I add "Authorization" , "Accept-Language" , "Content-Type" it returns this message { "message": "This endpoint requires at least one of the following scopes: all_trips_lite, request, all_trips", "code": "unauthorized" } any one can help me to get out from this problem Related to your integration you will need the user to grant access to your application through the OAuth 2.0 Authorization Code flow. The Authorization Code flow is a two-step authorization process. The first step is having the

Uber Invalid OAuth 2.0 credentials provided Uber Authentication In ios Swift

白昼怎懂夜的黑 提交于 2019-11-29 02:20:51
I'm implementing the Uber's Request Endpoint in my iOS (Swift) App. The Request API/Endpoint requires the user authentication with the app, here is the doc . For this I'm using this Oauth2.0 library What I did is successfully integrated the Library in my project (xCode) with the help of given installation instructions. In My AppDelegate let uber_OAuth_Settings = [ "client_id": "XXXXXXX9vtKzobvXXXXXX", "client_secret": "EXXXXXXXXyFUNCa_Wez6AXXXXXXXnrXtxus", "authorize_uri": "https://login.uber.com/oauth/authorize", "token_uri": "https://login.uber.com/oauth/token", "redirect_uris": ["jamesappv2

Uber deeplink and universal url crashes android application

▼魔方 西西 提交于 2019-11-28 02:21:11
I am experiencing problem on Android with opening of Uber deeplink and universal url, uber hangs to a white screen and returns to calling activity on back presses. I have tried: Method 1: SessionConfiguration config = new SessionConfiguration.Builder() .setClientId(<client-id>) .setClientSecret(<client-secret>) .setServerToken(<server-token>) .build(); Location location = Singleton.getInstance(context).getOneTimeLocation().getLocation(); RideParameters rideParams = new RideParameters.Builder() .setPickupLocation(location.getLatitude(), location.getLongitude(), "Your", "Your")

Uber Invalid OAuth 2.0 credentials provided Uber Authentication In ios Swift

情到浓时终转凉″ 提交于 2019-11-27 16:38:35
问题 I'm implementing the Uber's Request Endpoint in my iOS (Swift) App. The Request API/Endpoint requires the user authentication with the app, here is the doc. For this I'm using this Oauth2.0 library What I did is successfully integrated the Library in my project (xCode) with the help of given installation instructions. In My AppDelegate let uber_OAuth_Settings = [ "client_id": "XXXXXXX9vtKzobvXXXXXX", "client_secret": "EXXXXXXXXyFUNCa_Wez6AXXXXXXXnrXtxus", "authorize_uri": "https://login.uber

Uber deeplink and universal url crashes android application

余生长醉 提交于 2019-11-26 22:10:50
问题 I am experiencing problem on Android with opening of Uber deeplink and universal url, uber hangs to a white screen and returns to calling activity on back presses. I have tried: Method 1: SessionConfiguration config = new SessionConfiguration.Builder() .setClientId(<client-id>) .setClientSecret(<client-secret>) .setServerToken(<server-token>) .build(); Location location = Singleton.getInstance(context).getOneTimeLocation().getLocation(); RideParameters rideParams = new RideParameters.Builder(