tag:blogger.com,1999:blog-4156270291039836733.post6180851283752508085..comments2024-03-11T08:32:51.560-07:00Comments on Sanganak Authority: Using Windows Azure Access Control Services for Windows Live Authentication using Live Id SDK – Part 2Sanganak - Authorityhttp://www.blogger.com/profile/10009495430205891161noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4156270291039836733.post-72342768642034336252012-05-16T22:17:45.577-07:002012-05-16T22:17:45.577-07:00Make sure that you are running your application on...Make sure that you are running your application on port 80 as you have specified redirect URL that way. Check if you get the correct return URL in the query string. Also instead of running cloud app, make web role as start project for the time being and let the ASP.NET development server start. It should start on port 80. (make sure you have Default web site in IIS stopped so that 80 port will be available to ASP.NET dev server. Once done, browse above callback.aspx page directly in the browser and see if breakpoint in page load of callabck.aspx gets hit.Sanganak - Authorityhttps://www.blogger.com/profile/10009495430205891161noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-63099727060858554802012-05-16T01:36:14.717-07:002012-05-16T01:36:14.717-07:00Hi Saganak,
Thanks for the immediate reply. There...Hi Saganak,<br /><br />Thanks for the immediate reply. There was an error in the config file under the indentity section i have fixed it and now i am in getting redirected to the url mentioned in the Live ID account. I have mentioned "http://sreeni1979.cloudapp.net" in the Live ID account. There is no such site available. I have the below entry in the hosts file <br /><br /><br />127.0.0.1 sreeni1979.cloudapp.net<br /><br />I have the LiveIdRedirectURL set to "http://sreeni1979.cloudapp.net/Callback.aspx"<br /><br />I am expecting the breakpoint in my Callback.aspx page in dev environment to be hit. However it does not happen.<br /><br />Please let me know what could be the mistake here.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-30736999165707667622012-05-16T00:35:59.070-07:002012-05-16T00:35:59.070-07:00Hi Sanganak,
Thanks for your immediate response. ...Hi Sanganak,<br /><br />Thanks for your immediate response. <br /><br />I am specifying http://sreeni1979.cloudapp.net/ in the live ID dev account. I am specifying the same in the settings file against the LiveIdRedirectURL. However http://sreeni1979.cloudapp.net is not an existing site. It cannot be browsed in IE. I have also added the below entry in my hosts file <br /><br />127.0.0.1:81 sreeni1979.cloudapp.net<br /><br />I am trying to debug my application from my local machine so the code runs in the dev fabric and has the url http://127.0.0.1:81/Login.aspx<br /><br />I am sure there some mistake from my part on the configuration. Please help me fix this issue. Appreciate your help in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-54977293779572730502012-05-15T21:02:41.785-07:002012-05-15T21:02:41.785-07:00Hi Anonymous,
The error is clear, the redirect URI...Hi Anonymous,<br />The error is clear, the redirect URI you specified is not valid. The redirect URI is the one which you specify in your application on live ID account. Same uri needs to be specified in configuration. However does that URL exists? Are you able to view the URL in IE by directly browsing it?<br /><br />Hope it helps...Sanganak - Authorityhttps://www.blogger.com/profile/10009495430205891161noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-81663442076969862682012-05-15T08:00:39.968-07:002012-05-15T08:00:39.968-07:00Hi
I get the below error and I want to fix this ...Hi <br /><br />I get the below error and I want to fix this asap. Please help with your valuable input.<br /><br /><br />Oops, there was a problem <br /><br />The provided value for the input parameter 'redirect_uri' is not valid. The value must be an absolute URL whose scheme is http:// or https://.Anonymousnoreply@blogger.com