What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

I've seen sign in methods using GitHub as an authentication provider, for example for http://c9.io.

Is it possible to authenticate into Stack Exchange using this method? At the moment there's other methods such as OpenID, Google, Yahoo and Facebook, but it would be interesting to also have the GitHub authentication.

share|improve this question

4 Answers 4

up vote 25 down vote accepted

You can log into any Stack Exchange site using the credentials from any Open ID provider. Unfortunately, at this time, GitHub is not an Open ID provider, so you can't log in using those credentials.

Also, it's highly unlikely that SE would create a special login mechanism for GitHub accounts unless there was great incentive to do so; it would require resources (time, money) to fabricate a custom mechanism when one already exists for this specific purpose (Open ID).

If anything, I suggest that you urge GitHub to become an Open ID provider, rallying support around that initiative. Once they are an Open ID provider, you'll be able to login to any Stack Exchange site with those credentials and link them to your account.

share|improve this answer
1  
or, OAuth 2.0 which is nearly as convenient. –  Jeff Atwood Apr 20 '12 at 3:40
    
developer.github.com/v3/oauth –  Tracker1 Apr 10 '13 at 0:48
    
@Tracker1 It's still not OpenID, unfortunately. –  casperOne Apr 10 '13 at 11:19
    
@casperOne Neither Facebook is openID provider… –  skalee Nov 11 '13 at 14:33
1  
@skalee Very true, but that's a choice that the SE folk decided to make, presumably in order to reduce friction in logging into not just SO, but all of the Stack Exchange sites, many of which have nothing to do with coding. In providing Facebook as a login provider, they reduce the friction for almost a billion people to access Stack Exchange sites. That said, I'd still push this for Stack Overflow, as it makes perfect sense. Also, the [OAuth token exchange] is simple enough to implement. All that they have to do is ask for the user:email scope so that they can try to sync accounts. –  casperOne Nov 12 '13 at 12:24

It's worth noting that they do support OAuth3 it looks like...

share|improve this answer

This is definitely possible...

I login to SO.com, etc. using my openid of mralexgray.github.com, which is my gh-pages URL. I forget how I set this up... at some point in the distant past... but I will research it and update this answer.

share|improve this answer
1  
Did you ever get a chance to figure this out? –  Pops Jun 30 at 21:00

The solution is to set up a personal page, which utilizes "openid.delegate" to forward to the "openid.server". This is done in the HEAD section of that page by using "meta" and "link" tags.

For inspiration: http://stackoverflow.com/a/1223529

For testing use this: http://test-id.org/OP/Sreg.aspx

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .