re: Developing token authentication using ASP.NET Core VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

I get nothing but 401s using this very approach in Postman.

Try This

client.DefaultRequestHeaders.Add("Authorization",string.Concat("Bearer ", json.accessToken));

code of conduct - report abuse