与天蓝色站点的间歇连接 [英] Intermittent Connection with azure site

查看:86
本文介绍了与天蓝色站点的间歇连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




当我们将凭据记录到测试环境的azure站点时,下面会出现以下错误消息。有时我们可以登录,但有时我们会得到以下错误。我们尝试了IE和Chrome,甚至是inprivate / incognito模式,但同样的问题是
。我们最终应该做些什么?

We have the following error message below when we log our credentials to azure site of our test environment. Sometimes we can login but sometimes we get the error below. We tried both IE and chrome, and even in the inprivate/incognito mode, but same issue occur. Is there something we should do in our end?

推荐答案

是的,这是你可以照顾的事情。错误消息只是表示您在门户中配置的回复URL与您在应用程序代码中的回复URL不匹配(有时在那里称为redirectURI)。

Yes, it is something you can take care of on your end. The error message simply means that the reply URL that you have configured in the portal does not match what you have in your application code (sometimes referred to as the redirectURI there).

确保您的应用注册中的回复网址与您在web.config或应用设置中的回复网址完全匹配,并搜索您的代码以获取任何参考。通常,您的回复网址只是主页网址(mysite.azurewebsites.net)。如果您之前在本地测试并且现在已经发布了应用程序,请确保
您没有对localhost的任何旧引用,反之亦然。

Ensure that the reply URL in your app registration matches exactly what you have in your web.config or app settings, and search your code for any reference. Usually your reply URL will just be the main homepage URL (mysite.azurewebsites.net). Ensure that you don't have any old references to localhost if you were testing locally before and have now published the app, or vice versa.

此外,请确保该应用程序已注册应用程序的ID和租户ID与代码中的ID和租户ID相匹配。

Also, ensure that the app IDs and tenant IDs for your registered application matches the ones that you have in your code.

设置显示在
此示例
 以及
我的博客文章

The settings are shown in this sample and in my blog post.


这篇关于与天蓝色站点的间歇连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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