hii,
i am using react metronic demo1 theme, and i want to know which types of authetication functionlity you're using in react metronic thme, i want to implement access and refresh token functionlity but there is conflict in code, please help me to solve the problem, is i can edit the metronic auth configration and make it to handle access and refresh token.
Hi,
When user logs in we fetch the authentication token and then store it in localStorage, when we do a token verify request on every route change. Login and token store examples can be found in /src/app/modules/auth/components/Login.tsx.
If you want to implement authentication with refresh and access tokens then you can refer to the tutorial below:
https://designtechworld.medium.com/how-to-authenticate-using-access-and-refresh-tokens-using-react-js-57756df2d282
Regards,
Lauris Stepanovs,
Keenthemes Support Team