Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

292
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda