mirror of
https://github.com/appy-one/acebase-client.git
synced 2026-05-25 14:12:15 -06:00
[GH-ISSUE #1] OAuth provider signin fails after redirect #3
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-client#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appy-one on GitHub (Feb 26, 2021).
Original GitHub issue: https://github.com/appy-one/acebase-client/issues/1
Originally assigned to: @appy-one on GitHub.
After signing in with an OAuth2 provider, the user is successfully redirected back to the site with ?result=[base64 encoded data]. BUT, the function handling the redirect result fails because it uses
Buffer.fromto do the base64 decoding, which is not supported in the browser.Example:
Solution: add browser polyfill for base64 decoding (safely with utf8 characters)
@appy-one commented on GitHub (Feb 26, 2021):
Fix published with v1.1.0