You can find the source answer in the Auth0 Community.
Answer:
- SPA: set config useRefreshTokens to true
- API Config: set Allow Offline Access to true
- Application config: Advanced Settings \ Grant Types \ Refresh Token enable
- Application config: enable Refresh Token Rotation