How to create a proper custom axios instance for Orval?

Hi @matamatanot,

Welcome to the Auth0 Community!

The Auth0 React SDK isn’t intended for use outside of components, but there is a workaround you can use to get the token outside of your component.

Check out this thread:

Specifically, this code: