Skip to content

Fixed Github OAuth Error "no name returned by Github"

atagulalan requested to merge atagulalan/commento:master into master

Hi,

GitHub OAuth was not working for me. I do not know GO, so i tried to print "user" variable and found out there was no "name" key provided within user object.

noname

I checked my account, and as I suspected, GitHub is not requiring Name.

Maybe we can sort this out by using username and updating with full name if "name" is provided?

Sorry for my bad English, it's not my native language.

Merge request reports