Here is a quick and dirty way you can get it.
const getToken = () => {
return `Bearer ${JSON.parse(window.sessionStorage.jwtToken)}`;
}
You can get it straight from the browser.
Here is a quick and dirty way you can get it.
const getToken = () => {
return `Bearer ${JSON.parse(window.sessionStorage.jwtToken)}`;
}
You can get it straight from the browser.