¿how can i acces to bonita portal automatically using API REST?
hI,
I would like to acces to bonita portal without having to put my username and password manually. I wolul like to access to bonita portal automatically using API REST.
$data = array('username' =>$user, 'password' => $password, 'redirect' => 'true' ,'redirectURL' => 'https://localhost:8080/bonita/portal/homepage');
this code , redirected me to Bonita portal login system,How i can put the username and password variable in the url in order to login with this user.
Regards
Thanks for reply.
could you specify me ,how i can do it, because i use the authenticate loginservice in order to retrieve some information from my process and so on. One of this information that i retrieve is the tasks that the user has, and when i list this tasks and i want to access to the task form , always redirected me to bonita portal system login in order to put my username and password and one time i have put this information it redirected to the task form. What i need is when the user click in the link of task form, the system redirected me to this task form automatically.
I hope that you help me!
You have to use the login service for rest, not the login screen.
see here:
http://documentation.bonitasoft.com/rest-api-overview-0
regards
Seán
Comments
Thanks for reply.
could you specify me ,how i can do it, because i use the authenticate loginservice in order to retrieve some information from my process and so on. One of this information that i retrieve is the tasks that the user has, and when i list this tasks and i want to access to the task form , always redirected me to bonita portal system login in order to put my username and password and one time i have put this information it redirected to the task form. What i need is when the user click in the link of task form, the system redirected me to this task form automatically.
I hope that you help me!
try
http://localhost:8080/bonita/portal/homepage#?_pf=1&_p=tasklistinguser
regards
this link , redirect me to the bonita portal login system, and this is what i want to avoid.