queerviolet / bones

MIT License
36 stars 119 forks source link

Fix GitHub OAuth #30

Closed glebec closed 7 years ago

glebec commented 7 years ago

In github.com/FullstackAcademy/bones there are lingering issues with GitHub OAuth.

InternalOAuthError: Failed to fetch user profile (status: 401 data: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"})
glebec commented 7 years ago

Hahahahahaha. This is because of a one-letter typo (clientSecrets): https://github.com/queerviolet/bones/blob/master/server/auth.js#L69

Will push a fix soon. @intersim, think you might enjoy this, since you pointed out the original issue off-GitHub.