Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

291
Views
Where does .net core/.net 5 store JWT authentication token on server-side?

I am configuring JWT Bearer token in my startup class and then generating JWT token when I receive valid login request. We send generated token to client and client is going to send it to server with every request in stateless implementation.

[Authorize] attribute authenticates each request from client on server end. I want to understand where does this token get stored on server-side for validation purpose as we are not storing it manually in the database.

Thanks in advance.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

It is not stored on the server side. It is stored on the client side, sent to the server. Some signature checks are made (based on your jwt secret) and then it decodes the token to extarct data. The Authorize decorator is used by a Microsoft middleware that runs before entering your controller. You enable it in your Startup.cs when you configure your JWT parameters, etc...

You can check your data and your signature with that website : https://jwt.io/

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!