Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal YelveRank #178 · 13.6K reputationPosted Jan 2, 2023, 7:17 AM EST
Hi Ishika,
Please refer below link
https://jasonwatmore.com/post/2021/07/29/net-5-role-based-authorization-tutorial-with-example-api
https://jasonwatmore.com/post/2022/02/18/net-6-role-based-authorization-tutorial-with-example-api
Pasang TamangRank #449 · 5.6K reputationPosted Dec 31, 2022, 12:10 PM EST
Hi,
I hope you will find this helpful https://jasonwatmore.com/post/2022/02/18/net-6-role-based-authorization-tutorial-with-example-api
Regards,
Pasang
Puneet KankarRank #446 · 5.6K reputationPosted Jan 1, 2023, 12:00 PM EST
Hi Ishika,
Check the below links there you can find the ways of doing this.
https://jasonwatmore.com/post/2022/02/18/net-6-role-based-authorization-tutorial-with-example-api
https://weblog.west-wind.com/posts/2021/Mar/09/Role-based-JWT-Tokens-in-ASPNET-Core
Uday DodiyaRank #239 · 10.3K reputationPosted Jan 2, 2023, 12:32 AM EST
Hello Ishika,
Please Refer below article that help you to apply role base Jwt authentication in web API Using SQL server
Link 1 : https://www.youtube.com/watch?v=TDY_DtTEkes
Link 2 : https://www.c-sharpcorner.com/article/how-to-implement-jwt-authentication-in-web-api-using-net-6-0-asp-net-core/