-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Headers are read-only, response has already started .net 8 blazor #53240
Comments
@MahdiElahi thanks for contacting us. The Identity pages require access to the underlying HttpContext and only work in SSR mode. They don't work in interactive mode. |
@MahdiElahi Please provide your repro as a public github repository, otherwise we can't look at it. |
Hi @MahdiElahi. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
This is not something that we provide out of the box. You'll have to create your own implementation using the new identity endpoints. |
@javiercn |
I was having a similar problem. <HeadOutlet @rendermode="InteractiveServer"/>
</head>
<body>
<Routes @rendermode="InteractiveServer"/> I really have to read a bit more about these render modes, my knowledge is lacking. @MahdiElahi I checked your ForumProject and made a couple of changes, now it is working Hope this helps/ |
Same issue when using
|
stile I have this issue |
Did anyone figure out how to create interactive login page? It is espectially useful if we are connecting to existing/external API that uses JWT Bearer token. After httpClient calls the API, we need a way to securely persist the token and use it for further calls. |
So if I understand correctly, you cannot do this when the rendermode is InteractiveServer? Why is that? I also have an account registration process where this option would be highly valueable. |
I am facing same issue till now. |
Did you fix the issue? |
+1 |
Hi,
the login page is refreshed because of this i change render mode to InteractiveServer to disable reload page when click submit in login form
but
when run this code :
var result = await SignInManager.PasswordSignInAsync(Input.Email, Input.Password, Input.RememberMe, lockoutOnFailure: false);
i have this error
Headers are read-only, response has already started
my project is Blazor Web App (Auto Interactivity)
you can test login in my project
1.register new user
2.click on confirm email
3.login
ForumProject.zip
what's is problem ?
The text was updated successfully, but these errors were encountered: