-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Redirect style will create new user #58
Comments
I'll have to look into how wechat works and from that figure out where the issue is. I don't use wechat so I won't get to this any time soon, so if someone else wants to look into this, it will be much appreciated. |
I've looked through the code and I don't see where the issue can originate. Did you make any progress on this @zhaoyao91 ? Did you try the newest version? |
This is not related to wechat. I think it's because Meteor has some logic in accounts-oauth that automatically calls the default oauth login on the server if oauth information is found at page load, and that login handler automatically creates a new user, skipping the call to the callback of this package. |
The code that I am talking about is in accounts-oauth:
This will call the normal oauth login handler instead of the link |
@MastroLindus Thanks a lot for locating the code. I will see what we can do to fix this in core. |
Same issue here with Google (linkWithGoogle) and loginStyle: "redirect" calls |
it's fine to link account in popup style, but wechat-mp require to use redirect style, which is a limit of the wechat. could you please support link account with redirect style?
The text was updated successfully, but these errors were encountered: