Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes "atob" decode failed to execute #578

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

kattoshi
Copy link
Contributor

For Google login, it fails when decoding the jwt token in multibyte languages.
Error in function decodeJwt:

Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
    at GoogleLoginProvider.decodeJwt (http://localhost:4200/main.js:537:30)
    at GoogleLoginProvider.createSocialUser (http://localhost:4200/main.js:526:26)

@Heatmanofurioso Heatmanofurioso merged commit bbf6b3f into abacritt:master Aug 13, 2022
@kattoshi kattoshi deleted the fixed_jwt_decode_fail branch August 14, 2022 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants