REST API Loginservice

1
0
-1

I created a custom login page using jquery I could successful login using the rest api but I cant understand very well the redirect option of the REST API, after changing the redirect option to true and add the redirectURL to "../bonita/portal" I see that the response is a html page but how can I use that information so I can redirect the user to the portal page?

What Im trying to do is a custom login page were if the user put the correct credentials the system redirect them to the bonita portal

Comments

Submitted by Sean McP on Mon, 09/12/2016 - 21:23

Have you tried the full url?

I.e. Http://servername:port/bonita

Don't add portal, it should go to the right page automatically.

Regards
Sean

Submitted by mzhu on Mon, 09/12/2016 - 23:37

Thanks for your comment and as you say if I put the complete url the redirection works perfectly.

1 answer

1
0
-1

Use the full URL

I.e. http://servername:port/bonita

Don't add portal, it should go to the right page automatically.

regards
Seán

PS: As this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.

Notifications