Android的超级错误未找到任何身份验证的挑战 [英] Android uber error No authentication challenges found

查看:257
本文介绍了Android的超级错误未找到任何身份验证的挑战的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Andr​​oid应用程序来实现尤伯杯。我得到的错误,当用户进行身份验证找不到验证挑战。

I am trying to implement Uber in my Android application. I got error "No authentication challenges found" when authenticate a user.

我在尤伯杯创建了一个应用程序,并给出以下范围的应用如图所示的图像中。

I have created an app in Uber and given the following scope to the app as shown in the image.

和我的重定向网址是:的http://本地主机/ AUTH

and my Redirect URL is : http://localhost/auth

在我的Andr​​oid应用我已经给了如下调用授权范围列表

In my Android app I have given following scope list for authorize call

public static final String SCOPES = "profile history_lite history";

和添加PARAMS列表的API。

and added the params list to the api.

params.add(new BasicNameValuePair("response_type", Constants.CODE));
params.add(new BasicNameValuePair("client_id", Constants
        .getUberClientId(this)));
params.add(new BasicNameValuePair("scope", Constants.SCOPES));
params.add(new BasicNameValuePair("redirect_uri", Constants
        .getUberRedirectUrl(this)));

请帮我在这要怎么解决这个问题呢?

please help me on this to how to solve this problem?

推荐答案

您可以在此尤伯杯SDK为Android整合到你的应用程序点击的此处。请注意,这仍处于测试版。

You can integrate this Uber SDK for Android into your app Click here. Note that this still in beta-version.

这篇关于Android的超级错误未找到任何身份验证的挑战的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆