'redirect_uri'提供的值无效 [英] The provided value for the 'redirect_uri' is not valid

查看:73
本文介绍了'redirect_uri'提供的值无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿大家,



我在使用给定代码时获取令牌时遇到问题。我想我已经正确地添加了所有信息,但它返回的消息说重定向uri与之前的步骤不同。我认为这很奇怪,因为获取代码
没问题,它也会回到我们的webapplication中的正确页面。这可能还有其他事吗?我已经尝试了所有的组合,添加了更多的重定向uri,尝试了不同的请求方式,玩了参数。我只需要b
$ b,但确实需要这个才能工作。 



顺便说一句:我是一个完全正常工作的Google Oauth2进程在我们的应用程序中,所以我知道它是可行的和可行的。在尝试使用MS Oauth门户时,我遇到所有这些问题非常奇怪。 

解决方案

我相信
此文档
完全涵盖您要实现的目标。您能看一下这个并与您正在尝试的内容进行比较吗?


此外,如果上述文档没有帮助,您是否可以分享有关设置的更多详细信息?


Hey everybody,

I've a problem with getting the token while using the given code. I think I've added all the information correctly but it comes back with a message saying the redirect uri is not the same as in the step before. I think this is odd because getting the code is no problem, it also goes back to the correct page in our webapplication. Is there perhaps something else going on here? I've tried all the combinations, added more redirect uri's, tried different ways of requesting, played around with the parameters. I'm out of ideas but really need this to work. 

BTW: I've a fully working Google Oauth2 procesflow in our application, so I know it's possible and doable. It's pretty weird that I get all these issues while trying to use the MS Oauth portal. 

解决方案

I believe this doc covers exactly what you are trying to achieve. Could you take a look at this and compare with what you are trying?

Also, could you share more details of your setup if the above doc doesn't help?


这篇关于'redirect_uri'提供的值无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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