Hi all,

I'm newbe with this and I need your help. I have developed a webapp using 
Django + CAS. Everything works fine but now my company wants to build a iPhone 
app for this DjangoApp. I have been trying to get the RESTful API working to 
access some protected data from an iPhone but when I thought I had it… nothing.

I give you some context. I have applied all these modifications: 
https://wiki.jasig.org/display/CASUM/RESTful+API and tested with the python 
script at the bottom of that page. With that I get this:

201 Created
https://cas.mysite.com:8443/cas/v1/tickets/TGT-1157-1X14lCiIa1tQ3fOiada4D9lKXZFEPSSR0qO4XMEaVnyXTcqhXo-mysite.com
TGT-1157-1X14lCiIa1tQ3fOiada4D9lKXZFEPSSR0qO4XMEaVnyXTcqhXo-mysite.com
***
200 OK
service: https://mysite.com/protected/page
st     : ST-1398-rBNkNlaXCwGebZZrLf54-mysite.com
***

But, when I try to get a protected page I'm redirected to the login page 
instead of the desirable data.

Can someone help me, please?

Thanks!

Pau Vicedo

[cid:69C90059-DC7D-4F0C-823A-BE0177C0505E]

OmniAccess SL
Edificio Son Rossinyol, Piso 3, Oficina "D"
Carrer del Gremi de Cirurgians i Barbers 48
07009, Palma de Mallorca
Illes Balears, Spain
Phone +34-971-221979
Fax +34-971-221978

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

<<inline: 2B1371B4-D4A2-40E4-9E00-7F17E039965E[3].png>>

Reply via email to