CheapIdeas | Sample app that shows how to do | Authentication library
kandi X-RAY | CheapIdeas Summary
kandi X-RAY | CheapIdeas Summary
Sample app that shows how to do Authentication/Authorisation with ASP.NET Web API Identity and Xamarin. OAuth Overview with ASP.NET Identity : Signup user to ASP.NET Identity from Xamarin Forms : Login user to ASP.NET Identity from Xamarin Forms : Invoke protected web services : Register Access Token in Xamarin Forms : Create authenticated HTTP Post request : Create authenticated HTTP Delete request :
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CheapIdeas
CheapIdeas Key Features
CheapIdeas Examples and Code Snippets
Community Discussions
Trending Discussions on CheapIdeas
QUESTION
I need to authenticate my Xamarin forms app with username and password stored in a database table accessible via an Azure mobile app.
We have an Asp.Net web app that users Forms authentication which has its data synched to an Azure SQL database (to user online/offline sync). I then use an Azure Mobile app to access the SQL data and use the Azure Mobile app as the backend for my Xamarin Forms app. We would like the users to log on to the Xamarin app with the same credential that they use for the web app.
Using walk throughs I have been able to get an app authenticating with Google, Azure active directory, etc. but is there a way of using the credentials stored in the Azure SQL database table? For the record I have very little experience with authentication.
I have found this https://github.com/HoussemDellai/CheapIdeas which uses the example of a Web API backend, will this work with an Azure Mobile App backend, aren't they essentially the same thing?
...ANSWER
Answered 2018-Mar-13 at 13:32I need to authenticate my Xamarin forms app with username and password stored in a database table accessible via an Azure mobile app.
According to your requirement, I assume that you could use App Service Authentication / Authorization and follow adrian hall's book about Custom Authentication to create the custom CustomAuthController
endpoint in your Azure Mobile App backend project.
For your Xamarin client, you could use Azure Mobile Client SDK and login via the following code snippet:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CheapIdeas
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page