4 Comments
User's avatar
le's avatar

where should I use AuthComp? in the layout?

Expand full comment
Amitay's avatar

Layout is a good place. just make sure it renders somwhere.

Expand full comment
Christos's avatar

Is there any way to setup an axios interceptor that uses the id token and runs on the server and the client? Is it possible to refresh the token on the server before it is expired?

Expand full comment
Amitay's avatar

Not sure about the Axios, but in this docs we do refresh the token before it expires.

Expand full comment