Complete JWT Authentication, Roles & Refresh Token Support in .NET 8 Blazor App Interactive Server

preview_player
Показать описание

/*Source code available*/

/* Custom JWT Authentication and Role Base Authorization with Refresh Token Support in Blazor Web App with Interactive Server Render Mode. */

/*Follow Netcode-Hub*/
Рекомендации по теме
Комментарии
Автор

47:30 mins in, is that a chicker or rooster just going ham ahahah

ZachDempsey
Автор

Hi bro please post a video on how to display video advertisement or banner advertisement in our website.

Mastermindshares
Автор

If we wanted to make it so that the Token persists when the user leaves the site would we use the Blazor local storage? And also how do you do the Logout? I saw you had it at the end but I did not see it in any of the the linked videos or this video.

rcarangl
Автор

Hi i have a problem where the JWTConstants is carried over to another browser when i log in in chrome the state is carried in another brower ex. (Brave) and if i access my website it's already login in brave

GinBilog-ijrj
Автор

I had to add on the home page to get the first part to work. Having it in just routes did not work for me. How can I get around that?

rcarangl
Автор

Do you have a video on the last step for adding [Authorize] on component level to block the page and not just the route in nav?

I keep getting 401 when adding that to a component even though I am authorised everywhere else :(

tinylittleanj
Автор

I want to ask why page Authorize attribute does not work on JWT. I had to use Cascading Authentication markup to show/hide page contents

bossmann
Автор

wait, isnt if we use Constant.JWTToken in SSR its gonna apply to all visitor ?

enricoroselino
Автор

if i worked with api same implementation ?

shabanelmogy
Автор

bro love to prank us with good humor 1:00:19

enricoroselino
Автор

i want create class for blazorserver as class in blazor autorendermode
how can i do that to check validate if i open application in many tabs

shabanelmogy
Автор

hello friend, I complete this and I want to add localStorage and it does not work, can you tell me how to do it please?

a.g.b
Автор

how do you implement log out i did'nt see

nickolmo
Автор

hello. If I add the [authorize] attribute to the razor page, an error occurs. The web api project and blazor project were separated. I would like to know the solution. An unhandled exception occurred while processing the request.
InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or configureOptions).
context, string scheme, AuthenticationProperties properties)

lxifkqu