Accessing protected REST endpoint with JQuery

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2009-04-11T05:58:55Z Indexed on 2010/03/22 4:31 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

I have a site where members login to their account (FormsAuth). I would like to set up a RESTful service that I can access using jQuery. I would like to protect these services using the same FormsAuth.

How would a third-party site be able to access these services? They would need to pass in the Principal/Identity to the service, right?

I've only seen examples of Basic Authentication (which Twitter uses and jQuery supports).

I'm very new to WCT/REST, so not sure how this should be done.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about rest