如何开发O365 Active Directory登录Android? [英] How can I develop O365 Active Directory login Android?

查看:62
本文介绍了如何开发O365 Active Directory登录Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何开发O365 Active Directory登录Android?我尝试了Azure Active Directory,在输入用户名和密码后,我变得像这样 aadsts50011,请求中指定的回复URL与为应用程序配置的回复URL不匹配,请帮助我找出问题.预先感谢

How can I develop O365 Active Directory login Android? I tried Azure Active Directory, After I put Username and Password I'm getting like this aadsts50011 the reply URL specified in the request does not match the reply URLs configured for the application Please Help me to Find out the issue. Thanks in advance

推荐答案

对于不匹配的问题,有一个通用的解决方案:

There is a general solution to the problem of not match:

当您访问应用程序url时,您将被重定向到登录页面.解码授权请求URL,您将找到redirect_uri,复制redirect_uri的值并将其粘贴到azure门户中,然后重试.

When you visit the application url , you will be redirected to the login page. Decode the authorization request URL, you will find redirect_uri, copy the value of redirect_uri and paste it into the azure portal, and try again.

对于重定向URL,它应该以 https 开头,如果您需要以 http 开头,则必须将其配置为 http://localhost .

For the redirect URL, it should start with https, if you need to start with http, you must configure it as http://localhost.

这篇关于如何开发O365 Active Directory登录Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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