Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to authenticate since the JWT was invalid #2

Open
geniinho opened this issue Aug 29, 2024 · 0 comments
Open

Failed to authenticate since the JWT was invalid #2

geniinho opened this issue Aug 29, 2024 · 0 comments

Comments

@geniinho
Copy link

Ao seguir o projeto pelo youtube me deparei com o seguinte erro ao debugar o spring security
JwtAuthenticationProvider : Failed to authenticate since the JWT was invalid
Pelo que eu vi, outras pessoas que realizaram o tutorial mais recentemente também estão com o mesmo problema.
Realizei testes clonando o projeto e também deu mesmo erro.

O log so fica disponivel ao adicionarmos o comando logging.level.org.springframework.security=DEBUG no application.properties. Cao contrario só aparecera a mensagem com o status 401 Unauthorized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant