Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Invalid calling object 'btoa' in Edge (Chromium) #148

Closed
agentschmitt opened this issue Jul 14, 2020 · 4 comments
Closed

Invalid calling object 'btoa' in Edge (Chromium) #148

agentschmitt opened this issue Jul 14, 2020 · 4 comments

Comments

@agentschmitt
Copy link
Contributor

I have an issue with token.refresh() on edge (chromium edition).
The function throws error "Invalid calling object". The issue seems to come from window.btoa function.
Seems to be related to issue #78 and pr #70.

I tried the fix from the pr and it worked for me.
But i see it has conflicts with master and isnt merged since 2 years.
Can we have this bugfix please? :) I can create new pr if this helps!

@postatum
Copy link
Contributor

Hi @agentschmitt.

Can we have this bugfix please? :) I can create new pr if this helps!

Please do. I'll review it.

Thanks!

@agentschmitt
Copy link
Contributor Author

@postatum i created the pr with the fix.

postatum added a commit that referenced this issue Jul 17, 2020
fix invalid calling object 'btoa' in Edge (Chromium) #148
@postatum
Copy link
Contributor

Closed via #150

@postatum
Copy link
Contributor

The fix is now released in version 4.3.2. Thank you for the contribution!

clancy-au pushed a commit to digiwise/js-client-oauth2 that referenced this issue Apr 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants