Skip to Main Content
ASP.NET Web API Security Essentials
book

ASP.NET Web API Security Essentials

by Rajesh Gunasundaram
November 2015
Intermediate to advanced content levelIntermediate to advanced
152 pages
2h 46m
English
Packt Publishing
Content preview from ASP.NET Web API Security Essentials

Implementing Microsoft authentication

Microsoft authentication is like utilizing your end users' enterprise accounts to authenticate them. We need to create an application and configure redirect URL. Then copy the client ID and secret key from app settings in the Microsoft developer account and configure them in our application code.

Follow the given steps to get the client ID and secret key value from the Microsoft developer portal for your application:

Log to your Microsoft account (https://www.live.com/).

  1. Navigate to the Microsoft developer center site (https://account.live.com/developers/applications/).
  2. Provide the Application name and click the I accept button:

    Fig 29 – Enable your application to use Microsoft accounts

  3. Click on API Settings and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro ASP.NET Web API Security: Securing ASP.NET Web API

Pro ASP.NET Web API Security: Securing ASP.NET Web API

Badrinarayanan Lakshmiraghavan
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz
Mastering ASP.NET Web API

Mastering ASP.NET Web API

Mithun Pattankar, Malendra Hurbuns
Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Tugberk Ugurlu, Alexander Zeitler, Ali Kheyrollahi

Publisher Resources

ISBN: 9781785882210Supplemental Content