Please, I'm not able to keep the system authenticated. I login, access the API without problems. But when creating a new service, I can't configure the Url to keep the system authenticated...
I imagine that there is a token authentication flow in the template to keep the user logged in... Keep the Authorization: Bearer with the token... that is, is the template customizable or will I have to develop the flow? How we implement the Refresh Token?
Hi Clelia,
We don't have RefreshToken support, only basic bearer authorization example. I think your RefreshToken solution also should be based on HTTPInterceptor.
Maybe Jason Watmore's article will direct you to your solution: https://jasonwatmore.com/post/2020/05/22/angular-9-jwt-authentication-with-refresh-tokens
Regards,
Keenthemes support
Hi, thanks a lot for the tip!
I read Jason Watmore's article and it helped me a lot!
Thank you so much!
Regards
Clélia
Hi,
Could you please share with us more details.
Also some links about API and deployments: https://preview.keenthemes.com/metronic8/angular/docs/mock-backend, https://preview.keenthemes.com/metronic8/angular/docs/deployment.
Regards,
Keenthemes support