Azure移动应用程序身份验证外部重定向URL

标签 azure url redirect azure-mobile-services

我已经创建了Azure 移动应用,并且我正在遵循官方文档。在身份验证期间,说明了以下部分文档

In the Allowed External Redirect URLs, enter url_scheme_of_your_app://easyauth.callback. The url_scheme_of_your_app in this string is the URL Scheme for your mobile application. It should follow normal URL specification for a protocol (use letters and numbers only, and start with a letter). You should make a note of the string that you choose as you will need to adjust your mobile application code with the URL Scheme in several places.

我的问题是他们没有提供重定向网址的任何有效示例,因此我在重定向中粘贴了url_scheme_of_your_app://easyauth.callback门户中的 url 会出现错误,因为它不是有效的格式,所以有人可以给我这个 url 的有效示例吗?

提前致谢

最佳答案

对于那些仍在努力弄清楚 Azure 中的“MobileAppUrl”、“url_scheme_of_your_app”和“redirectUriScheme”到底是什么的人,这里有一个示例:假设您的 Azure 移动应用程序名为 myapp,您将拥有以下内容:

移动应用 URL: https://myapp.azurewebsites.net

url_scheme_of_your_app: 我的应用

redirectUriScheme: myapp://easyauth.callback

了解 Azure 门户中的身份验证设置的“允许的外部重定向 URL”也很有用:

myapp://easyauth.callback

关于Azure移动应用程序身份验证外部重定向URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46294796/

相关文章:

Azure DevOps 管道返回 : 'Failed to deploy web package to App Service. Internal Server Error (CODE: 500)'

azure - 如何将我的 GoDaddy 域连接到 Azure VM 服务器?

javascript - 不能一键下载2个文件(不同的url)

c# - 在 C# 中取消转义转义的 url

java - 没有参数的Spring MVC重定向

http - 什么是正确的 HTTP 重定向状态代码?

c# - 使用 C# 从存储在 azure blob 存储上的 200gb 文本文件中读取一行

.net - 在任何浏览器中将 URL 参数传递给 ClickOnce 应用程序

bash - 将两个进程输出管道发送到双管道输入进程

azure - 如何通过 sasTokenUri 连接 Azure Blob 存储?