From the course: Microsoft Azure Solutions Architect Expert (AZ-305) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Enabling OAuth on web apps

Enabling OAuth on web apps

- [Instructor] In this lesson, we're going to look at app registrations. In a previous lesson, we actually used app registrations to create a secure connection between a frontend app and a backend storage account. And we did that by creating an app registration and creating a client secret. Another way we can use app registrations is to actually provide authentication capabilities to our application itself, i.e. if you have a web app and you need to be able to restrict who can access it by forcing users to log in, then we can use an app registration to tie that app to our Active Directory, therefore, use all the accounts we've set up within our Azure Active Directory. I've created a very basic MVC application here. I mean, this is literally a vanilla build, I have just gone file, new, MVC application. And in particular, I chose the option to tell it to use AD authentication. Now, what that's done is, in this file call…

Contents