Skip to content

SyncfusionExamples/Blazor-webassembly-authentication-with-AAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authenticate a Blazor WebAssembly hosted application with Azure Active Directory (AAD)

This example demonstrates how to authenticate a Blazor WebAssembly hosted application with Azure Active Directory (AAD).

Prerequisites

To run the application

To run this application, follow the below steps:

  • Clone this repository.
  • Open the projects in Visual Studio by clicking solution (.sln) file.
  • Replace the {TENANT ID} and {CLIENT APP CLIENT ID} in Client\wwwroot\appsettings.json file with the values obtained from AAD when register a Client app. Refer this link for more details.
  • Replace the {SCOPE URI} in Client\Program.cs file with the values obtained from AAD when register a Client app. Refer this link for more details.
  • Replace the {DOMAIN}, {TENANT ID} and {SERVER API APP CLIENT ID} in Server\appsettings.json file with the values obtained from AAD when register a Server API app. Refer this link for more details.
  • Run the application from server project.

About

This example demonstrates how to authenticate a Blazor WebAssembly hosted application with Azure Active Directory (AAD).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors