× Requests and support related to jBackend.

single sign on?

  • mobilechipmunk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #3546 by mobilechipmunk
single sign on? was created by mobilechipmunk
could i use jbackend to send single sign on api to 3rd party?


This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

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

More
9 years 3 months ago #3548 by admin
Replied by admin on topic single sign on?
Hi,
jBackend allows to publish API for other clients (i.e. it acts as a server). It could internally invoke other systems, but but still aimed to building a response to a request.

Instead, from your request, it seems you need a client for an external system, so...

Kind regards

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

  • mobilechipmunk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #3550 by mobilechipmunk
Replied by mobilechipmunk on topic single sign on?
I think this plugin can help me pull user's username from joomla so i can then insert it into my ajax get request.

this api www.fitnessbuiler.com/api/v1/sso parameter "user_id" is required. so i need to somehow insert joomla user's username into that parameter. but for your api, i only see user/login, user/register.

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

More
9 years 3 months ago #3552 by admin
Replied by admin on topic single sign on?
Yes,
you could use jBackend to retrieve the user id, but the user should first login on Joomla site to identify itself. And if you check the documentation, after login the answer is:

www.selfget.com/documentation/jbackend-joomla30/user-module-api.html
{
    "status": "ok",
    "userid": "<userid>",
    "username": "<username>"
}

But you could play a little with jBackend if you want. There is a sandbox and you can download the Postman requests to play as described here:

www.selfget.com/documentation/jbackend-joomla30/usage.html

Kind regards,
Luigi

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

  • mobilechipmunk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #3553 by mobilechipmunk
Replied by mobilechipmunk on topic single sign on?
i have been playing around with restman. i can't seem to do a get request on the api to get username and email and id

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

More
9 years 3 months ago #3554 by admin
Replied by admin on topic single sign on?
As I told you, at the moment only the login request returns the id and the username (the email could be add). If you need to get the user profile if should be added too.

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

Time to create page: 0.166 seconds