android - 使用 LiveSDK 时出现 'redirect_url' 错误

标签 android ios authentication onedrive

在设置示例 Android 应用程序时,我更新了配置文件以包含我在 development portal 上注册时收到的应用程序 ID。 .然后,当我尝试在我的设备上登录应用程序时,我看到了这条错误消息:

The provided value for the input parameter 'redirect_uri' is not valid. The client application must be marked as 'mobile', or the value must be an absolute URL which matches the registered redirect URI.

我该怎么做才能避免此错误,以便我可以使用示例应用登录?

最佳答案

可以通过在 Microsoft Account Developer Center 中添加重定向 Urls 设置来纠正此错误。 ,如下图。

Image of Developer Center settings with Redirect Url highlighted

关于android - 使用 LiveSDK 时出现 'redirect_url' 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24199906/

相关文章:

php - 构建良好的 php 应用程序可以学习吗?

android - Flutter插件的UI测试

安卓麦克风问题

ios - 根据 coredata 中的属性名称获取唯一对象

objective-c - 在不同的托管对象上下文中看不到 ios coredata 更新 - 上下文之间的数据不同

php - Paypal 沙盒 API 10055 错误?

android - 如何使用字符串通过变量名获取按钮?

Android:定义 onDraw Canvas 大小

jquery - iOS 上不触发点击事件

rest - Spring Security 认证 RESTful Web 服务