× Requests and support related to jBackend.

Update Password

  • JamesDiPilla
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #4294 by JamesDiPilla
Update Password was created by JamesDiPilla
I have JBackend setup and working with my external application. When a user is created in the external application, a Joomla user is also created. Since the external application is the "Master Application" for user credentials, I need to be able to update the password in Joomla when it's changed in the external application.

I would also like to sync Usergroup assignments from my external application to Joomla. If I add a user to a "Subscribers" group, I want to automatically add the user to "Subscribers" usergroup in Joomla.

Can you assist with either of these requests? Or point me in the right direction?

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

More
9 years 5 months ago #4295 by admin
Replied by admin on topic Update Password
Hi,
in your scenario you need a system to system communication, like a jBackend endpoint on your Joomla site protected by key access. On this endpoint you should expose a function to assign users to groups and change user's passwords. This is a custom jBackend module you should develop (there is nothing like this already available). Here you can find the needed docs:

www.selfget.com/documentation/jbackend-joomla30/developers-guide.html

Moreover, we can help you with this task if you want:

www.selfget.com/services/technical-support/jbackend-custom-modules.html

Kind regards,
Luigi

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

More
8 years 11 months ago #4948 by xengent
Replied by xengent on topic Update Password
I would also like to have an API call sent that would update a password for a specific user. Has this been developed and/or available for purchase?

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

More
8 years 11 months ago #4950 by admin
Replied by admin on topic Update Password
Well, actually the profile plugin allows the user itself to update his profile. But if you need an endpoint that allows you to change the password for any user, we can develop a small custom plugin. In the case send me an email at info(at)selfget.com with all the details you think could be useful to define plugin specifications.

Kind regards,
Luigi

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

More
8 years 11 months ago #4956 by xengent
Replied by xengent on topic Update Password
When you say the profile plugin, this means that the user would need to authenticate by logging in with their current password and then update their profile, correct?

And if they don't have their current password, they can request it using the password reset call, correct?

I tried using the password reset call, however I am using Community Builder, so I don't think it's working properly. The link sent in the email ends up sending me to the password reset page.

Does using community builder effect these calls to "update profile password", or "reset password"?

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

More
8 years 11 months ago #4957 by admin
Replied by admin on topic Update Password
Hi,
both yours first assumptions are right. The password reset call triggers the standard Joomla process to reset the password. If this is "overrided" by another extension like CB, you will get the new one.

And af far as I know CB overrides the login and the registeration process, but not sure about the password reset. Probably it still relies on the Joomla encryption for password, so you should see the standard recover password page.

Can you tell me what happens on your site?

Kind regards,
Luigi

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

Time to create page: 0.167 seconds