0
What is the best way, in terms of best practices and practicality, to simplify the process of moving a JWT?
I know that with Ionic or Angular, after configuring some module for JWT, the application starts to inject the token in all requests automatically, however, I want to do something similar without using them.
Through the article below, we can have the idea of how to implement JWT itself, however, it finishes the article only with token storage, need to understand how to model the next step without having to send the token manually in all requests.
https://jonathanmh.com/example-json-web-tokens-vanilla-javascript/
Thank you very much Filipe! Excellent, my doubt was in intercepting the requests
– David Dias
@Did Davidsilva’s answer help? Was the problem solved? If so, mark the answer as correct. Thank you.
– Filipe Moraes