I would like to know what is the default expiry time of refresh tokens.
The default lifetime for the refresh tokens is 24 hours for single page apps and 90 days for all other scenarios. https://learn.microsoft.com/en-us/azure/active-directory/develop/refresh-tokens#refresh-token-lifetime
is there a way to configure it?
You can not set token lifetime policies for refresh tokens. https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes#token-lifetime-policies-for-refresh-tokens-and-session-tokens
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.