I’m having trouble to refresh my Access Token using a Refresh Token using the PKCE flow.
I’m using the @okta/okta-auth-js for React and I’m looking for a way to renew Access Token on specific action. I was thinking of using the Refresh Token for that but I can’t find a function to use it with the lib. Also the
token.renew(tokenToRenew) does not work I’m getting the error :
Browser requests to the token endpoint may only use the authorization_code grant_type.