How to add JWT authorization + Swagger configured + ASP.NET Core 3.1 API with AzureAD

preview_player
Показать описание
#OAuth,#AzureAdAuthentication ,#swaggerUI,#openAPI,#netCoreAPI,#APIAuthorization,#ProtectNetCoreAPI ,#AzureAppRegistration
Add Open API Documentation(Swagger)
Add Authentication Azure AD Oauth2.0
Authorize Swagger UI to access API

how to add JWT authorization in Swagger configured in ASP.NET Core 3.1 with AzureAD
knowledge level required: intermediate for beginner video is coming soon...video for each step

Step1: Add swagger documentation
Step 2: AzureAD application Registration - API
Step3: configure API Security (AddAuthentication , AddSecurityDefinition , AddSecurityRequirement
Step4: Middleware UseAuthentication and UseAuthorization and Controller Authorization
Step5: AzureAD application Registration - SwaggerUI/ ClientApp
Step6: Add Scop and Permissions
Step7: set AD application values
Step8: Run Api - test authorization
Step9: Get AccessToken from swaggerUI and Call Secure/Protected API methods
Step10:----------my Like & Subscriber
Useful Links
OAuth 2.0 authorization framework
STEP 1 : Add swagger documentation

STEP 2: AzureAD application Registration - API

STEP 3: configure API Security (AddAuthentication , AddSecurityDefinition , AddSecurityRequirement

Step4: Middleware UseAuthentication and UseAuthorization and Controller Authorization

Step5: AzureAD application Registration - SwaggerUI/ ClientApp

Step6: Add Scop and Permissions

Please Like and share and do Subscribe for supporting me :)
Рекомендации по теме
Комментарии
Автор

Super over video. It helped me a lot. Thanks and Appreciate.

Ajmal_Yazdani
Автор

Look, if you want to explain something to someone, then it is not about what you know. There is no doubt, that you know your stuff. It is all about how can you transport your knowledge as clear and simple as possible to as many as possible people. There is your bottleneck.

swenmeinert
Автор

Can you please share the source code link. Thank you

sarojbarik
Автор

Can we show scope for Authorization in front of each endpoint??

priyankasingh-dlop
Автор

Can any user part of the AD get the Token as per this tutorial?

rosegladson
Автор

Hi Please drop a link to the source code for easy reference.

muhammadabdulmalik
Автор

need access to source code. can you please provide ?

belugaaa
join shbcf.ru