azure-mobile-services

Why isn't my Azure Mobile Service accepting the bearer token ADAL.js is sending it?

为君一笑 提交于 2020-01-14 13:57:09
问题 I am using ADAL.js with implicit flow to authenticate an AngularJS app to be able to access an Azure Mobile Services API. I have set up Azure AD identity information in the Identity tab of the AMS (azure mobile service) as follows... The app url is set to: https://<>.azure-mobile.net/login/aad The client id is the client id from the application set up in the Azure AD. The allowed tenant is: <>.onmicrosoft.com The header is included in the GET request: Authorization: Bearer eyJ0eXAiOiJKV1Qi...

Azure Mobile Apps - Custom authentication - Unable to login

我们两清 提交于 2020-01-13 18:24:09
问题 I'm working in a Xamarin Forms mobile app with .NET background. I followed the guides as much as I could. But those are somehow uncompleted and there are not complete examples of custom authentication. I finally reach a point were I don't now how to advance. I can't make the login work. I get this error after the client gets the respond of the LoginAsync: user = await TodoItemManager.DefaultManager.CurrentClient.LoginAsync("CustomAuth", credentials); This is the error : ex {"Object reference

Azure Mobile Services with Android

旧时模样 提交于 2020-01-13 07:03:11
问题 I am very new to both Android development & Azure Mobile Services. I have a decent knowledge of Java so Android development is not proving to be too difficult. Although, I am struggling to gain a good knowledge of working with Azure Mobile Services. I have little knowledge of REST API's but will be able to learn quite quickly if required. My main concerns/questions are as followed: Can I build my Android app by using Mobile Services Data & API's alone. i.e the simple table values and the

Azure Mobile Services with Android

眉间皱痕 提交于 2020-01-13 07:02:25
问题 I am very new to both Android development & Azure Mobile Services. I have a decent knowledge of Java so Android development is not proving to be too difficult. Although, I am struggling to gain a good knowledge of working with Azure Mobile Services. I have little knowledge of REST API's but will be able to learn quite quickly if required. My main concerns/questions are as followed: Can I build my Android app by using Mobile Services Data & API's alone. i.e the simple table values and the

Azure Website Single Sign On accessing Azure Mobile Service from Azure Active Directory as User

一笑奈何 提交于 2020-01-07 07:50:13
问题 I have an ASP.NET MVC website deployed as Azure website (called website ). That website has a section that needs authorization. I already have set up Windows Azure Active Directory ( WAAD ) to protect access to that section. Once that protected section has loaded, it will load a Javascript app that allows integration with the Azure Mobile Service. I also have a separate Azure Mobile Service that I use for data storage (called mobserv ). I want to access mobserv table and api endpoints from

Azure Website Single Sign On accessing Azure Mobile Service from Azure Active Directory as User

那年仲夏 提交于 2020-01-07 07:50:01
问题 I have an ASP.NET MVC website deployed as Azure website (called website ). That website has a section that needs authorization. I already have set up Windows Azure Active Directory ( WAAD ) to protect access to that section. Once that protected section has loaded, it will load a Javascript app that allows integration with the Azure Mobile Service. I also have a separate Azure Mobile Service that I use for data storage (called mobserv ). I want to access mobserv table and api endpoints from

How to call a custom function of Azure Mobile Service from Cordova mobile app?

∥☆過路亽.° 提交于 2020-01-07 01:53:11
问题 I am developing a Cordova-Ionic App with Azure Mobile Service(.Net) as backend. I want to call a function that is written in Service. e.g an email want to send from the service when user press a button in mobile app. So the function to send email is written in Service. How to call the function from the Cordova App? Can anybody help please 回答1: You should define a custom API on the server and call it using invokeAPi in the client SDK: How to: Define a custom API controller Calling custom APIs

Publishing Azure Mobile Service doesn't work

江枫思渺然 提交于 2020-01-06 14:41:06
问题 I have an Azure Mobile Service that works perfectly locally and has been thoroughly tested using Fiddler. I setup Reference Handling to avoid self referencing loops WebApiConfig.cs public static class WebApiConfig { public static void Register() { // Use this class to set configuration options for your mobile service ConfigOptions options = new ConfigOptions(); // Use this class to set WebAPI configuration options HttpConfiguration config = ServiceConfig.Initialize(new ConfigBuilder(options))

How to get user information when authenticating with OneDrive SDK

社会主义新天地 提交于 2020-01-06 05:08:40
问题 I am building an Azure App Service that has both Windows Desktop (not UWP) and iOS clients. I want to use Microsoft Account Authentication to authenticate users. As a result of a previous question here I can now authenticate users using the OneDrive SDK but have fallen at the next hurdle. The One Drive SDK does not appear to provide access to user details such as their given name and email address. Please can someone point me in the direction of an example or instructions for authenticating a

How to get user information when authenticating with OneDrive SDK

本秂侑毒 提交于 2020-01-06 05:08:29
问题 I am building an Azure App Service that has both Windows Desktop (not UWP) and iOS clients. I want to use Microsoft Account Authentication to authenticate users. As a result of a previous question here I can now authenticate users using the OneDrive SDK but have fallen at the next hurdle. The One Drive SDK does not appear to provide access to user details such as their given name and email address. Please can someone point me in the direction of an example or instructions for authenticating a