× Requests and support related to jBackend.

Issue with logged user to get API

  • Mikolaj
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 days ago #6945 by Mikolaj
Issue with logged user to get API was created by Mikolaj
Hey, I am facing an issue with the jBackend api, as was in the documentation, I have been testing the API on the extension of POSTMAN and it was working fine. now I have implemented on the our html template and calling API through php its not setting user properly, after login it still show that agent is not logged in

i have tried othe online API callers and same result, i have downloaded the software of POSTMAN and on that it logins the agent and if you try to login again it show that already loggedin but if i check any other call is shows that agent is not logged in

it could be the bug in the JBackend

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #6983 by admin
Replied by admin on topic Issue with logged user to get API
Hi Mikolaj,
Joomla sessions are based on cookies, so after the login you need ot be sure to pass the session id set in the cookies on each subsequent request. If not possible, jBackend allows you the enable the session id support in the plugin. In this case once you login, save the session id from the response and pass it back on each request. More info here:

www.selfget.com/documentation/jbackend-joomla30/user-module-api.html

Kind regards
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds