× Requests and support related to jBackend.

Purchasing subscription

  • agonzalez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago - 5 years 9 months ago #6779 by agonzalez
Replied by agonzalez on topic Purchasing subscription
I have "json login" and "session id" enabled in jbackend_user_module.
But when I try to call an endpoint like this:
{{basepath}}/index.php?option=com_jbackend&action=get&module=user&resource=profile&session_id=01e38a1ddcafc89bcaa7aca353e86f07
I get a 403 response

Also, when I call this endpoint: {{basepath}}/index.php?option=com_jbackend&action=post&module=user&resource=login
with a json body like this (with correct credentials):
{
"username": "usr123",
"password": "pass123"
}
I always get this response:
{
"status": "ko",
"error_code": "USR_LIF",
"error_description": "Login failed"
}

am I missing anything?
Last edit: 5 years 9 months ago by agonzalez.

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

More
5 years 9 months ago #6780 by admin
Replied by admin on topic Purchasing subscription
Sorry but yes,
you are missing the very first step, "setup an endpoint":

www.selfget.com/documentation/jbackend-joomla30/initial-configuration.html

Please try to follow those steps. On the default endpoint you don't have full control over your settings.

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

  • agonzalez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #6781 by agonzalez
Replied by agonzalez on topic Purchasing subscription
Still getting the same 403 error:

{{basepath}}/index.php/jbck/get/user/profile?session_id=2ed8ed6ee6d6e1002c8adacbf5d88f3a

The menu item is configured with:
alias = jbck
access_type = user
enable_modules = all

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

More
5 years 9 months ago #6782 by admin
Replied by admin on topic Purchasing subscription
I would like to try out your endpoint.

Can you send me an email at info(at)selfget.com with the current basepath and a valid account?

Thanks,
Luigi

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

Time to create page: 0.105 seconds