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.

marc_s
760k186 gold badges1.4k silver badges1.5k bronze badges
asked Apr 1, 2025 at 19:28
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, 2025 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, 2025 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, 2025 at 7:59

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.