pyporscheconnectapi icon indicating copy to clipboard operation
pyporscheconnectapi copied to clipboard

Token refresh?

Open andig opened this issue 1 year ago • 2 comments

Seems the new identity manager supports token refresh (scopes_supported: offline_access). A simple exchange doesn't do the trick though- probably needs additional headers. Any idea how token refresh could be supported?

andig avatar Jun 20 '23 19:06 andig

Oh that's interesting, I'll investigate. It depends on wether they have auth0 configured correctly though: https://community.auth0.com/t/accesstokenerror-when-requesting-offline-access-scope/62813

CJNE avatar Jun 20 '23 20:06 CJNE

I've managed to request offline_access and get the refresh token, but failed on the refresh.

andig avatar Jun 20 '23 20:06 andig