Blazor server cookie authentication #1819
Unanswered
JacoJordaan
asked this question in
Questions
Replies: 2 comments 5 replies
-
It seems like this is csla authorization related. Commenting out
|
Beta Was this translation helpful? Give feedback.
5 replies
-
The same issue when I run ProjectTracker with Blazor server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have followed the approach in the Blazor book and use cookie authentication.
I stumbled across an issue when accessing a page where user not required to log in, I receive a 401 Not authorized error in the browser console output. Page is displaying correctly, but events are not responsive causing the CSLA property validation not to work.
Looks like the signalR connection is not working and I believe this has to do with the authentication.
When I do login and then access the page, then everything is working fine.
I know this is not strictly CSLA related, but hopefully someone knows how handle this use case where I like to access certain blazor server pages when user not authenticated?
Beta Was this translation helpful? Give feedback.
All reactions