Web Api Project - Change Authentication

Hi, I'm using VS2013 Ultimate.

I'm creating a web api project so a Mobile app that will create later using Apache Cordova and call it to update data in the sql server. Whatever calls the API need to be authenticated to have proper permission to perform the tasks.  Ideally, I would like to allow users to user their Windows Credential for authentication.  

1.  How do I configure thisi n the Web API project, IN THE cHANGE aUTHENTICATION DIALOG.  When I select to change the authentication type?  Do I use the On-Premises?   Where do I get this aDFS MetaDATA document RUL?

2.  What is APP ID URI?  is this where I specify the url that I'm binding the API to?

3.  So, would my mobile app call my api with their windows credential in the http call?  Seems risky.

Thank you.
lapuccaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Maybe this will help.

Visual Studio 2013 offers several authentication options for the Web Forms, MVC, and Web API templates:

No Authentication
Individual User Accounts (ASP.NET Identity, formerly known as ASP.NET membership)
Organizational Accounts (Windows Server Active Directory or Azure Active Directory)
Windows Authentication (Intranet)
lapuccaAuthor Commented:
thanks Randy but I was looking at the link you provided and have questions regrading those options.  Especially the Organization Accounts option.   All 3 questions are related to the input fields of the Organization Accounts option

Thank you.
Randy DownsOWNERCommented:
Thmobile authenticationis may help with mobile authentication.

In this tutorial, you add authentication to the quickstart project using the Active Directory Authentication Library.

To be able to authenticate users, you must register your application with the Azure Active Directory (AAD). This is done in two steps. First, you must register your mobile service and expose permissions on it. Second, you must register your iOS app and grant it access to those permissions

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lapuccaAuthor Commented:
Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.