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

[BUG] New login issues #1182

Open
lpatmo opened this issue Mar 26, 2022 · 0 comments
Open

[BUG] New login issues #1182

lpatmo opened this issue Mar 26, 2022 · 0 comments

Comments

@lpatmo
Copy link
Member

lpatmo commented Mar 26, 2022

What is the current behavior?

Undefined error on login (both Slack and GitHub):
image

If I run the app in localhost:3000, both GitHub and Slack login work. But login doesn't work on staging.codebuddies.org and codebuddies.org.

@distalx and I debugged for a couple of hours and found that the API keys in the OAuth Apps at https://github.com/organizations/codebuddies/settings/applications are accurate.

(Note: @distalx also fixed some separate warnings in https://github.com/codebuddies/codebuddies/pull/1181/files, but these turned out not to be related to the login issue.)

Since nothing changed on the code-side, we think the bug is likely related to an update in the oauth or github packages on https://github.com/meteor/meteor, and probably the only way to mitigate is to upgrade Meteor from 1.8 to something more recent.

Separately, this errmsg: 'E11000 duplicate key error collection: meteor.cronHistory index: intendedAt_1_name_1 dup key: { : new Date(1648285200000), : "Hangouts Reminder Job" }', error message that we're seeing in localhost:3000 logs might be related:
image

A separate error in tail -f /var/log/nginx/error.log logs in prod that we saw probably when the URL redirects in https://github.com/organizations/codebuddies/settings/applications were http instead of https:

{"line":"392","file":"oauth_server.js","message":"Error in OAuth Server: redirect_uri_mismatch","time":{"$date":1648197514845},"level":"warn"}

Which browser / OS are affected by this issue? (An isolated way to reproduce the bug)

This affects all users who've logged out.

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

No branches or pull requests

1 participant