Managing external identities to enable secure access for partners, customers, and other non-employees
@Carol Lai Thanks for reaching out.
Can you let us know which Oauth Flow are you using with the app ?
If it is Authorization code grant flow which is most common, you need to utilize the token endpoint with scope sent as "offline_access"
Read more here
If the above does not help, please show us how are you doing it and how are you getting the access token.
-----------------------------------------------------------------------------------------------------------------
If the suggested response helped you resolve your issue, please do not forget to accept the response as Answer and "Up-Vote" for the answer that helped you for benefit of the community.