Hello,
I am looking for a way to create a new user directly from another web application, either via the CLI or via an API call.
The fields name, username, email and password should be passed to elgg (all as plain text) and the account should then be active directly.
I haven't found out yet how to call elgg via API and how to enable the API functionality at all.
Does anyone have a ready solution for this or can help me to realize this?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Karsten Schulze@frinx
Karsten Schulze - 0 likes
You must log in to post replies.Elgg API
Use WebServices.
You should register the function with the web services API framework and use to expose a method.
Something like this:
Elgg CLI
There aren't the internal methods.
But we use Symfony Process library for our solutions.
OAuth
You may want to use OAuth 2.0 also
Thank you very much.
I'll try it out.