WIndows Live ID OAuth2 Redirect Issue - windows-phone-7

I am attempting to incorporate Windows Live ID in my application.
First, I created a Windows Live Dev Application account, here:
http://msdn.microsoft.com/en-us/windowslive
Let's pretend my Client ID is 12345 (of course, it's really quite longer)
Then, I followed these instructions:
http://msdn.microsoft.com/en-us/library/hh243647.aspx
This suggests the following sample URL:
https://oauth.live.com/authorize?client_id=CLIENT_ID&scope=SCOPES&response_type=token&redirect_uri=REDIRECT_URL
I use this custom URL:
https://oauth.live.com/authorize?client_id=12345&response_token=token&scope=wl.signin%2cwl.basic%2cwl.offline_access&redirect_url=https%3a%2f%2foauth.live.com&display=touch
Horray, the user get's prompted to login!
Boo, the user is redirected to an invalid page.
Is there something I am missing here? Thanks in advance.

The error was in my URL, of course. The correct would be:
https://oauth.live.com/authorize?client_id=12345&response_type=token&scope=wl.signin%2cwl.basic%2cwl.offline_access&redirect_uri=https%3a%2f%2foauth.live.com%2fdesktop&display=touch
Hope this helps someone else trying to figure this out!

Related

Openmeeting enter room is not working

I am trying to below link for integrating openmeetings(version 3.2.1) with my application.
http://openmeetings.apache.org/RestAPISample.html
Requirement is need to access openmeetings without signin page, as describe in above link.
As per link, I am getting SID successfully, but last link to enter into the room
http://localhost:5080/openmeetings/swf?secureHash=fa1f9381-bd03-42ae-9fd9-332b5f775a1b&language=1
is not working.
Thanks in advance for help.
I have updated http://openmeetings.apache.org/RestAPISample.html
URL for 3.2.1 should be changed
You need to use
http://localhost:5080/openmeetings/hash?secure=fa1f9381-bd03-42ae-9fd9-332b5f775a1b&language=1
instead of
http://localhost:5080/openmeetings/swf?secureHash=fa1f9381-bd03-42ae-9fd9-332b5f775a1b&language=1

How can I test the page-controller I just created in salesforce?

I have a trial developer license with salesforce and following the tutorials I don't see how can I access the page seeing it from a browser.
The closest help is this : "Now access your page with a valid Account identifier passed in as a parameter. Your URL will look something like:
https://na6.visual.force.com/apex/MyAccountWithExtension?id=0018000000MDfn1"
Thank you in advance :)
Write on the URL :
https://YOURINSTANCE.visual.force.com/apex/YOURPAGE?id=RECORDID
https://na6.visual.force.com/apex/MyAccountWithExtension?id=0018000000MDfn1
Have a nice day!
;)

Sporadic redirects on secondary magento store page

Recently transferred my Magento 1.7 store to a new host, and started having a frustrating problem.
We've got the store sitting behind a login shell - you can see it at http://www.seacadetshipsstore.com. Base exchange takes you to the root store (/magento/), and the gearlocker login takes you to a secure sub-store (/magento/gearlocker/).
The problem is, ever since transferring to the new host, /magento/gearlocker/ is sporadically redirecting to /magento/. I can only reproduce it 1 in every 10 times, but customers are constantly complaining that they can't access the secure store for this reason.
I've also noticed that if I turn off the security and have clients navigate to /magento/gearlocker/ directly, it seems to fix the problem for most - they no longer get the redirect after logging in. Only a few of them still have the error, and they're all PC users on various browsers.
I've set up a demo login for stack:
https://www.seacadetshipsstore.com/login.php
U: stack_login
P: thanks
I doubt it's an issue with the base url or base link url, otherwise the error would be much more consistent. I've gone through magento's official tutorials and made sure the secondary store was set up properly (remember, it was working fine on the old host). I also know it's not anything to do with the login shell - all it does is validate the user's login and redirect to /magento/gearlocker/.
Can anyone reproduce this error? Can anyone tell me what's going on, or how I might fix it? Thanks in advance!

FBML based app suddenly stopped working since Nov.18,2011

My FBML based app suddenly stopped working since Nov.18.2011. It was working fine before that. And nothing has changed from our side. Could that be some of the new changes Facebookk put in on Nov.18 ( http://developers.facebook.com/blog/post/600/ ). Does anyone else has the similar problem? Any ideas on how to fix it?
Thanks a lot!
My FBML app stopped working around this day too. The problem is that they switched to the new auth system, where instead of sending the fb_sig HTTP parameters to identify the user and verify that the request came from Facebook, they now send one single parameter called signed_request. Which language/library are you using to interface with Facebook? See https://developers.facebook.com/docs/authentication/signed_request/ for more details on this new signed_request parameter.

Troubles with my open id provider. How to debug?

I have my own openid provider on my website, with phpmyid. It worked flawlessly until now, but apparently now it's not working anymore. I am unable to login anywhere I tried. How can I debug what's going on, to understand where's the problem ?
I can add more details if required, but if I can figure it out by myself without having to paste stuff it would be better.
Without any details, all I can say is read the logs (if phpMyID provides any), and capture the browser redirects with something like TamperData to see if there's anything obviously wrong there.
You could also try http://test-id.org/

Resources