You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to access an API a need to add the current JWT token to API client's default headers.
oidcStore module has an API to get access_token, it is oidcAccessToken getter.
So my question is how can I call this oidcAccessToken getter inside userLoaded event callback?
Maybe there is a better place to set this header?
Is there an event to handle access_token change?
In order to access an API a need to add the current JWT token to API client's default headers.
oidcStore module has an API to get
access_token
, it isoidcAccessToken
getter.So my question is how can I call this
oidcAccessToken
getter insideuserLoaded
event callback?Maybe there is a better place to set this header?
Is there an event to handle access_token change?
Thanks!
The text was updated successfully, but these errors were encountered: