How to create a crowd client by using restful API?
I am trying to search in document and I am only able to find java examples. Is there PHP examples? Or any examples by using restful API? I am using PHP applications.
Community moderators have prevented the ability to post new answers.
Hi Diego
I am not quite get it. I need you to explain me more details. Where shall I fire the rest request, from PHP application or browser.
Please help me list step by step as I couldn't find it online. And in order for me to SSO with other application, what should I do?
crowd.properties
is only used to configure the Java implementation of Crowd's SSO. If you are integrating a PHP application, you don't need this file.
Instead, you need to directly use the REST API, in particular POST /session/$TOKEN
to validate the $TOKEN that your PHP application will receive as a cookie from the browser. Additionally, you may need to POST /session
if your application needs to create a new SSO session for requests that do not have a valid token cookie, or to redirect to the Crowd login page to create the session for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diego
I do read the link you shared to me. But I am still don't get it. In order for me to implement SSO with my PHP application. What's the minimal requirement? How does crowd SSO works?
I believe the crowd.properties file couldn't work if I just copy/paste in my PHP app.
Best Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yang,
You'll find the documentation of Crowd's REST API at https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+APIs. Check the resources linked from that page to learn more about the Crowd REST resources.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.