0

Does anyone have a working template? I tried to pin down such a configuration myself, but couldn't.

I keep getting an http 401 "unauthorized" error when sending a HTTP request from the client to a secure endpoint on the server.

3
  • I still couldn't understand your requirement clearly, do you mean you want to use Identity server to protect your blazor web app or protect an API and let the blazor web app access that api? Commented Apr 2 at 3:02
  • In web app template we have two projects. Server, and Wsam. On Server, I want reach secure endpoint but from Wsam i can't. I can reach any unsecure endpoint, so its working, but if endpoint is secured, i can;t Commented Apr 2 at 10:14
  • Could you please share how your blazor get the token and use that token to send requst to the server/ Commented Apr 3 at 7:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.