Custom OAuth IdP not refreshing access token

I’m using a custom OAuth IdP, went through all the stuff to get the authenticated user’s IdP access token, but it’s expired and not refreshed. I can refresh it with the IdP’s endpoint and make the API call to the IdP’s server using the refreshed access token, but the problem is the access token stored in Auth0’s server will still be the old set (of the unrefreshed access token and the refresh token that I just used).

What do I do?

Hi @SJunwikul

Welcome to the Auth0 Community!

Thank you for posting your question; based on the documentation I’ve read, Auth0 does not update the Access Token that originates from 3rd party IDP, and this behavior is expected. You can read more about that here → Identity Provider Access Tokens

Thanks
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.