oAuth2 refreshToken (@byteowls/capacitor-oauth2)

@byteowls/capacitor-oauth2 - npm (here’s the plugin i’m mentioning)


I’m looking for a way to get a new token with refreshToken.

Since the original plugin method is not supported for web (only ios/android) I made my own method for refreshing the token.

I send a request but the response header does not contain “allow-access-control-origin” therefore i get a cors error.

Is there anyway i can fix this from FE (i’m willing to change plugin if necessary)? Has anyone faced a similar issue?

Thanks in advance.

Hi. Have you managed your issue?
I have same issue, but in 2023 :frowning: