我正在尝试(自3天以来,超过10次尝试)让我的Windows Phone(之后的Xamarin iOS和Android)通过Azure AD进行身份验证,但不知怎的,它对我不起作用。我正在关注这里提到的文章:http://www.cloudidentity.com/blog/2013/04/29/fun-with-windows-azure-ad-calling-rest-services-from-a-windows-phone-8-app/ 我做了以下步骤:
"access_token": "eyJ0eXAvv9w", "token_type": "Bearer", "expires_in": "3599", "expires_on": "1391805190", "resource": "https://mayurt.onmicrosoft.com/WebApp-dailystatusupdater.azurewebsites.net", "refresh_token": "AwAB...IgAA", "scope": "user_impersonation", "id_token": "eyJ0eXAIn0."
现在,如果我调用Web API,我将被重定向到登录页面,但我看不到任何错误。我试过Postman和Fiddler。