¿how can i acces to bonita portal automatically using API REST?

1
0
-1

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

2 answers

1
0
-1

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!

1
0
-1

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

Submitted by claz08 on Thu, 11/26/2015 - 13:52

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!

Submitted by Sean McP on Thu, 11/26/2015 - 15:07
Submitted by claz08 on Mon, 11/30/2015 - 17:26

this link , redirect me to the bonita portal login system, and this is what i want to avoid.

Notifications