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
Comments
+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. |
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. |
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. |
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. |
Hi everybody ! |
@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. |
I will take a look, and come back here if I need help on this. |
@ 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. |
You should add some private domain to your /etc/hosts file (if you work with any Unix system) 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) |
@elmatou good one! |
any news on this issue guys? |
+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 Home Page New(Free) Application Sign-up OAuth 2.0 Documentation SERVER SIDE API calls |
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. |
http://msdn.microsoft.com/en-us/library/bb676633.aspx
http://msdn.microsoft.com/en-us/library/bb676626.aspx
http://msdn.microsoft.com/en-us/library/bb676634.aspx (ruby impl.)
The text was updated successfully, but these errors were encountered: