Not getting refresh token after login
Hello,
I am implementing a functionality to download images from Adobe stock programmatically and I am logging in using Adobe IMS API but when I am logging in and getting a response back, I am not getting the refresh token back. Here is the URL to the documentation which I referred to in order to implement the login functionality.
https://developer.adobe.com/developer-console/docs/guides/authentication/UserAuthentication/IMS/
I checked the documentation and it is mentioned over there "Once you have fetched the access tokens for a user you may also be provided a refresh token in the response. A refresh token is only presented when the offline_access scope is requested in the authorize step. Please note that not all APIs and Services support the offline_access scope for security reasons."
So my concern is, how can I get the refresh token? Please help as I am not able to find any helpful resources for the same.
Any help will be appreciated.
Thank you in advance.