登录后Azure不重定向 [英] Azure not redirecting after login

查看:128
本文介绍了登录后Azure不重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在遵守 https://docs.microsoft.com/zh-cn/azure/app-service-mobile/app-service-mobile-android-get-started-users 为了配置我的应用程序以使用Azure身份验证服务登录Google,我得到一个登录屏幕,单击帐户并登录.

但是,我被路由到以下成功登录的屏幕,没有重定向到我的应用:

我已将我的重定向URL和其他URL进行了四倍检查,并执行以下操作: 1)Google凭证ID& Web应用程序的密钥, 2)使用debug.keystore生成的SHA-1 for Android应用, 3)身份验证/授权Azure培训站点中列出的Azure后端设置.

我仍然认为可能性仍然在于URL格式问题,但是我尝试了从easyauth.callback到/.auth/login/google/callback和https到http的所有操作,但是它没有重定向到我的应用程序且未提供身份验证

我正在使用待办事项"列表示例.

解决方案

解决方案是正确格式化redirectURL并在您的应用中进行设置.例如,要使用URL方案"ZumoE2ETestApp"配置zumo e2e测试应用程序,只需在允许的外部重定向URL"设置中添加"ZumoE2ETestApp://easyauth.callback".

I have been following the https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-android-get-started-users for configuring my app for logging into Google using Azure authentication services, I'm getting a login screen where I click on a account and log in.

but, I'm routed to the following successfully logged in screen with no redirect to my app:

I have quadrupled checked my redirect URLs and other URLs and done the following: 1) Google credentials ID & key for web application, 2) SHA-1 for Android app generated using debug.keystore, 3) Authentication / Authorization Azure backend setup as listed in the Azure training site.

The probability still I think rests with the URL formatting problem but I have tried everything from easyauth.callback to /.auth/login/google/callback and https to http but its not redirecting to my app and not providing authentication

I'm using the To-Do list example.

解决方案

The solution is to properly format the redirectURL and setup in your app. For instance, to configure zumo e2e test app with URL scheme "ZumoE2ETestApp", you simply add "ZumoE2ETestApp://easyauth.callback" in the "ALLOWED EXTERNAL REDIRECT URLS" setting.

这篇关于登录后Azure不重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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