I am currently with this project:
https://github.com/microsoft/sample-app-aoai-chatGPT
The project is running smoothly, and I have successfully set up the identity provider and configured all the necessary settings. However, I've encountered an issue where, after approximately an hour, the access token expires and does not refresh automatically. The only way to refresh it is by deleting the cookie, although this is not an optimal solution. I have also enabled the 'offline_access' scope, as I've learned that it might be related to facilitating the refresh token expiration. Could you please guide me on the steps I should take to ensure that my access token is renewed automatically before it expires?