I am trying to set up a form with blazor webassembly and asp.net core hosted. I'm using .Net 7.
The form in client side sends the data entered by an unknown user to the api server side.
No user authenticated, it's a public form. However I want to be sure only my clent side access to my server side.
I have set up a protection antiforgerytoken based on this doc (https://codingflamingo.com/blog/mitigating-cross-site-request-forgery-csrf-in-blazor). This solution is not sufficient because the cookie is readable in javascript
What would be the right solution to handle this need?
I hope my explanations are clear, I don't have a great level of English.