Home > other >  Azure login/sign up (SSO) with .NET API and Angular
Azure login/sign up (SSO) with .NET API and Angular

Time:09-22

I have an angular app which I need to be able to allow users sign up with Azure Active Directory via my .NET Core API.

Is there any decent tutorials that anyone has followed and implemented something like this before?

CodePudding user response:

Let's see how to create a user in Azure portal:

enter image description here

As you can see, display name, alias and the initial password is required for create a user. And in your scenario, you want to have an api which can be called by your angular client to create user in Azure ad, so you can use enter image description here

It requires you to have an azure ad app and create client secret for the aad app, follow this document to do it. And then you need to add api permission for your aad app, follow this document to add User.ReadWrite.All, Directory.ReadWrite.All application type api permission.

  • Related