Lock SDK Android - Refresh token missing

Hi there,

For my application, I am trying to renew user’s credentials to avoid them having to provide their credentials repeatedly.
I am currently using Lock Android v2 to perform authentication.

Can we request for a refresh token using the Lock SDK for android?

However, to renew credentials I see that offline_scope has to be added and a custom api needs to be created to turn on the Offline Access. What configuration do we have to perform on the custom api to get it working? I could not find any documentation to help me do that.

I understand that the offline_scope is needed to renew credentials using the refresh token. However, do we need the offline_scope and custom api to use an unexpired id token to renew credentials?

Any pointers to resolve this would be really helpful.

Thank you