Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Proxy for OSLC UI Preview

Hi,
I'm working on implementing the OSLC Preview mechanism and have hit the Same Origin Policy problem with showing the preview.

I can retrieve the URL for the preview, and can even show the preview icon, but my jQuery popup won't show the Preview URL, because DOORS is hosted on a different system.

So far I've got a simple proxy involved, which seems to be working all right for simple proxy queries, but the authentication isn't being transferred through the proxy. It seems to me that since my user has already done the OAuth dance, and I've stored all that authentication in the JazzOAuthClient class, and all the direct links to DOORS work fine, I should just be able to add the necessary OAuth credentials to the Headers which get passed through the proxy to enable the preview. Am I correct in thinking this? Which headers are needed? I've been trying to sniff the traffic to see, but it shows me that on previous successful request there are only the oauth_token and the oauth_verifier headers. And neither of those is stored in my JazzOAuthClient class.

Any help would be appreciated, thanks.

And, in case it makes any difference, I'm doing this in ASP.NET, with the (presumably) abandoned OSLC4NET libraries.


--
-bob

"Outlook not so good." That magic 8-ball knows everything!
I'll ask about PowerPoint next.
**********************************************************************
*      Robert Kerr - Engineering Solutions Software Developer        *
*      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125         *
*      Phone: (505) 844-8606      |    Sandia National Labs          *
*       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *
**********************************************************************



Back to the top