Add connectGithub mutation with transfer token logic similar to loginWithGithub
Refactor some github utils in users/utils to base/utils
Start using GraphQLError(...) instead of the previous success-errors responses. (It is easier on frontend to have all errors similarly rather than receiving some as GraphQLErrors and some in proper responses)
Should replace the /connect_github logic after proper frontend addition
Changes:
connectGithub
mutation with transfer token logic similar tologinWithGithub
users/utils
tobase/utils
GraphQLError(...)
instead of the previoussuccess-errors
responses. (It is easier on frontend to have all errors similarly rather than receiving some asGraphQLError
s and some in proper responses)/connect_github
logic after proper frontend addition