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

support for windows live id #26

Closed
dcu opened this issue Oct 4, 2010 · 13 comments
Closed

support for windows live id #26

dcu opened this issue Oct 4, 2010 · 13 comments

Comments

@dcu
Copy link
Contributor

dcu commented Oct 4, 2010

@6twenty
Copy link

6twenty commented Nov 30, 2010

+1

Unfortunately Microsoft appear to be using a non-standard implementation of the OAuth guidelines, resulting in incompatibility with the OAuth ruby gem. As far as we could tell with our initial research, the issue lies with redirects by Microsoft's authentication server, which the OAuth gem cannot follow. We didn't have the time or resources to dig deeper into this, though.

@mbleigh
Copy link
Contributor

mbleigh commented Jan 31, 2011

I have committed an incomplete implementation to the repository...maybe I'm confused but it seemed like I would have to have a paid account to set up an application and that's more than I'm willing to do. Anyone who's interested is free to take a look.

@rawnet
Copy link

rawnet commented Feb 1, 2011

Thanks Michael :)

By the way (and for anyone else wondering about this as it's not well documented by Microsoft) you should be able to set up an app without a paid account. I can't remember the exact process we went through, but I believe you can just create a free Windows Live/Hotmail account, then go to https://manage.dev.live.com to set up applications. We did, and we didn't have to pay anything.

@rawnet
Copy link

rawnet commented Feb 1, 2011

Also, for dev Windows Live apps set the domain to http://0.0.0.0:3000/ -- you'll need to change it in order to make the app 'published', but it allows you to develop the app without having to use a live domain.

@elmatou
Copy link

elmatou commented Mar 30, 2011

Hi everybody !
Just to confirm what rawnet said, no need to pay anything to create an "application" on live.com, I set up one, and with the committed strategy it offer me to login and send me to my callback. I did'nt get anything in my omniauth.auth rack variable.
I wonder if I can help in setting up this strategy...

@mbleigh
Copy link
Contributor

mbleigh commented Mar 30, 2011

@elmatou the strategy that's been committed is only partially working. If you'd like to take it and build a fully working strategy I would be very happy.

@elmatou
Copy link

elmatou commented Mar 31, 2011

I will take a look, and come back here if I need help on this.
But for now I'm stuck with this routing Issue, I you have any idea on this ?!

@victorbstan
Copy link

@ rawnet , you can't set the app to that, if someone else is using that domain name... I have tried with http://0.0.0.0:9393 and got:

The domain you specified as part of your return URL is already in use by another application. If you are the owner of this domain, contact Microsoft Help and Support.

@elmatou
Copy link

elmatou commented Apr 21, 2011

You should add some private domain to your /etc/hosts file (if you work with any Unix system)
add a line like :

127.0.0.1       www.rails.dev

then if you try to acces www.rails.dev with any software on this machine, it will be redirected by your network interface to 127.0.0.1 which is yout localhost (like 0.0.0.0)
Then set the site url in Microsoft (or twitter, facebook, .....) application setup to www.rails.dev (www.rails.dev:9393 if you use this port)

@victorbstan
Copy link

@elmatou good one!

@dcu
Copy link
Contributor Author

dcu commented Jul 8, 2011

any news on this issue guys?

@chrispeterson
Copy link
Contributor

+1

Would love to help if I can. I am new to rails, but have experience setting it up with PHP and I am trying to break into the rails community. I was able to use the Server side calls JSON and REST calls with curl on PHP and I would imagine Rails would be much easier. Feel free to ping me if you want to help point me in the right direction or have questions, but the Server Side documentation is fairly straight forward for microsoft.

Microsoft announced OAuth2.0 support for Windows Connect as of May 2011. So maybe the OAuth link would be easier to integrate, but I prefer the Server Side API calls. I am not sure if these links will help you, but here are a few of them. Take a look at these new methods.

Announcement
http://windowsteamblog.com/windows_live/b/developer/archive/2011/05/04/announcing-support-for-oauth-2-0.aspx

Home Page
http://msdn.microsoft.com/en-us/windowslive/default.aspx

New(Free) Application Sign-up
http://go.microsoft.com/fwlink/?LinkId=213332

OAuth 2.0 Documentation
http://msdn.microsoft.com/en-us/library/hh243647.aspx

SERVER SIDE API calls
http://msdn.microsoft.com/en-us/library/hh243649.aspx

@chrispeterson
Copy link
Contributor

I just submitted a pull request from my branch for this addition. If anyone wants to see the files or add to there own project here you go.

https://github.com/intridea/omniauth/pull/425/files

@mbleigh mbleigh closed this as completed Nov 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants