DEV Community

loading...

Discussion on: Developing token authentication using ASP.NET Core

xgabba profile image
Daniel E.

Another approach..
If you download the tool Postman you can easily check how this works.
After you revieced your token, you just have to put into Header:
Key: Authorization
Value: Bearer YOUR_TOKEN
including the whitespace between Baerer and your token!

Thread Thread
forestmarie profile image
Forest Marie

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

Forem Open with the Forem app