tag:blogger.com,1999:blog-5710617195189960819.post8049007011754192308..comments2022-11-21T02:01:40.617+00:00Comments on The Code Grimoire: Authenticating an ASMX Web Service in SharePoint from a WinRT appChanhttp://www.blogger.com/profile/17399215503516469208noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5710617195189960819.post-28982113863319936062013-02-15T14:27:38.881+00:002013-02-15T14:27:38.881+00:00FedAuth is the name of the authentication cookie. ...FedAuth is the name of the authentication cookie. If it's null you are probably not authenticated.<br /><br />Look into the cookieJar object to see everything you have in there.Chanhttps://www.blogger.com/profile/17399215503516469208noreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-4124445282827389872013-02-14T14:30:46.266+00:002013-02-14T14:30:46.266+00:00What is FedAuth?What is FedAuth?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-60031515948742178252013-02-14T14:27:38.825+00:002013-02-14T14:27:38.825+00:00Obviuslly i'm using my own URL but no work, th...Obviuslly i'm using my own URL but no work, thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-87352162437408158172013-02-14T14:26:38.711+00:002013-02-14T14:26:38.711+00:00Hi please why this return NULL?
public string Get...Hi please why this return NULL? <br />public string GetAuthenticationCookie()<br />{<br /> return string.Format("{0}={1}", "FedAuth",<br /> cookieJar.GetCookies(new System.Uri("https://www.mySite.com"))["FedAuth"].Value);<br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-7745553867926784202013-02-14T12:12:55.083+00:002013-02-14T12:12:55.083+00:00Have you configured your clientaccesspolicy.xml an...Have you configured your clientaccesspolicy.xml and/or your crossdomain.xml properly to allow external connections to your web application?Chanhttps://www.blogger.com/profile/17399215503516469208noreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-13338322851735904302013-02-13T18:12:50.268+00:002013-02-13T18:12:50.268+00:00Hi Josè,
I have a problem, when I consume the loca...Hi Josè,<br />I have a problem, when I consume the local service when I run the solution it works but when I deploy my site with the service on IIS I get every time Access Denied error even if I'm logged in and I've set the auth cookie.<br /><br />Have you any suggestion?Anonymoushttps://www.blogger.com/profile/13669675341461811497noreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-64159980593385426352013-02-07T03:25:34.485+00:002013-02-07T03:25:34.485+00:00Actually yes it does.
I was cleaning the cookie fr...Actually yes it does.<br />I was cleaning the cookie from the timestamp and that seemed caused the problem.Anonymoushttps://www.blogger.com/profile/13669675341461811497noreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-46384479546501902882013-02-07T02:55:18.299+00:002013-02-07T02:55:18.299+00:00Unfortunately it doesn't work for me.
I call ...Unfortunately it doesn't work for me.<br /><br />I call the authentication service to login and store in a variable the cookie.<br />But when I set the cookie in both the quick and elegant approaches it deny the access to the secured method I have in a service in the same site.Anonymoushttps://www.blogger.com/profile/13669675341461811497noreply@blogger.comtag:blogger.com,1999:blog-5710617195189960819.post-8091899270089033022012-11-10T10:11:05.549+00:002012-11-10T10:11:05.549+00:00Good post Jose..saved me some time !!Good post Jose..saved me some time !!Kishor Chandrahttps://www.blogger.com/profile/11590205889864534987noreply@blogger.com