lorna
12 years agoMaven
Authenticating with REST api
Hi,
I'm trying to get some info from private boards using REST api. We use PHP SSO which is working perfectly.
From this:
I understand that I need to create a separate token and use it to authenticate the user.
I'm using PHP and I get an error. Logged in as an admin I get 'User authentication failed.' As a normal user I get a session key but it then says error 301 Invalid session key.
I get a successful response if I just use the url in my browser eg:
So what am I doing wrong?!