mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-25 06:02:16 -06:00
[GH-ISSUE #21] Can't login with Google if you have an PNG profile picture #11
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#11
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 @eugirdor on GitHub (May 29, 2022).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/21
I think the issue is in this bit of code:
9d9e22d9d0/src/routes/oauth2-signin.ts (L52-L72)It returns early and never executes the rest of the method, so the redirect to the
callbackUrlnever happens.I think it should probably use an
elseinstead of thereturn:@appy-one commented on GitHub (May 30, 2022):
Good catch! This code used to be Promise/then/catch based before I refactored to async/await, so the return statement is probably a remnant of that... If you'd want to send a PR, please do! Otherwise, I'll adjust it in the code myself.