Yes! It works.
thanks.
what should be my work flow with angular and a API app?
Right now i send my auth bearer like that to secure my api:
const authToken = this._oktaAuth.getAccessToken();
req = req.clone({ setHeaders: { ‘Authorization’: Bearer ${authToken} } });
Do i need to send in the header or body the token that i generated or i send it in authorization header?