I am using php applications, I don't know java technologies is there any way to create
a user by curl api.
url
http://{keycloak}/auth/admin/realms/{realm}/users<http://%7bkeycloak%7d/auth/admin/realms/%7brealm%7d/users>
Required params and headers
- for User_creation
- for user_updation
Thanks and Regards
Joyson Anto ~ Aj
Antony Joyson M
Software Engineer
TSG
SPi Global
M +91 9551347970
M.AntonyJoyson(a)spi-global.com
www.spi-global.com<http://www.spi-global.com/>
SPi Global - Philippines Best Employer 2018, 13th Employer Branding Awards, Employer
Branding Institute - India and 2018's Top 25 AI Companies in APAC by CIO Advisor
CONFIDENTIALITY NOTICE: This email, including its attachments, is intended for the use of
the person/s it is addressed to. It may contain personal data, or information that is
protected or privileged, which are protected from unauthorized use or disclosure by law.
If you are not the intended recipient, any dissemination, retention or use of any
information contained in this email is prohibited. If you have received this email in
error, please promptly notify the sender by reply email and delete the original email and
any backup copies without reading them.
If you have questions or clarifications regarding any matter relating to data protection,
you may write to the SPi Global Data Protection Office at dpo(a)spi-global.com. You may also
file a complaint or report a security incident involving personal data by writing to:
dpo(a)spi-global.com.
From: Melih Ozdemirkan [mailto:Melih.Ozdemirkan@avivasa.com.tr]
Sent: Tuesday, March 5, 2019 6:19 PM
To: AntonyJoyson, MariyaGeorge <M.AntonyJoyson(a)spi-global.com>;
apiman-user(a)lists.jboss.org
Subject: RE: Please reply : API Curl call user registration
Please check following samples;
https://github.com/keycloak/keycloak-quickstarts/tree/latest/user-storage...
https://github.com/keycloak/keycloak-quickstarts/tree/latest/user-storage...
Melih
From: AntonyJoyson, MariyaGeorge
<M.AntonyJoyson@spi-global.com<mailto:M.AntonyJoyson@spi-global.com>>
Sent: Tuesday, March 5, 2019 3:41 PM
To: Melih Ozdemirkan
<Melih.Ozdemirkan@avivasa.com.tr<mailto:Melih.Ozdemirkan@avivasa.com.tr>>;
apiman-user@lists.jboss.org<mailto:apiman-user@lists.jboss.org>
Subject: RE: Please reply : API Curl call user registration
Can I get the sample/example how to configure user federation for checking users at
another projects database from keycloak.
Thanks and Regards
Joyson Anto ~ Aj
Antony Joyson M
Software Engineer
TSG
SPi Global
M +91 9551347970
M.AntonyJoyson@spi-global.com<mailto:M.AntonyJoyson@spi-global.com>
www.spi-global.com<http://www.spi-global.com/>
SPi Global - Philippines Best Employer 2018, 13th Employer Branding Awards, Employer
Branding Institute - India and 2018's Top 25 AI Companies in APAC by CIO Advisor
CONFIDENTIALITY NOTICE: This email, including its attachments, is intended for the use of
the person/s it is addressed to. It may contain personal data, or information that is
protected or privileged, which are protected from unauthorized use or disclosure by law.
If you are not the intended recipient, any dissemination, retention or use of any
information contained in this email is prohibited. If you have received this email in
error, please promptly notify the sender by reply email and delete the original email and
any backup copies without reading them.
If you have questions or clarifications regarding any matter relating to data protection,
you may write to the SPi Global Data Protection Office at
dpo@spi-global.com<mailto:dpo@spi-global.com>. You may also file a complaint or
report a security incident involving personal data by writing to:
dpo@spi-global.com<mailto:dpo@spi-global.com>.
From: Melih Ozdemirkan [mailto:Melih.Ozdemirkan@avivasa.com.tr]
Sent: Tuesday, March 5, 2019 12:49 PM
To: AntonyJoyson, MariyaGeorge
<M.AntonyJoyson@spi-global.com<mailto:M.AntonyJoyson@spi-global.com>>;
apiman-user@lists.jboss.org<mailto:apiman-user@lists.jboss.org>
Subject: RE: Please reply : API Curl call user registration
Hi Antony,
User Federation might help you to resolve your issue. It has out of the box support with
LDAP and Active Directory. It is also possible to write your own adapter to integrate with
any custom Database.
https://www.keycloak.org/docs/3.2/server_admin/topics/user-federation.html
Melih
From:
apiman-user-bounces@lists.jboss.org<mailto:apiman-user-bounces@lists.jboss.org>
<apiman-user-bounces@lists.jboss.org<mailto:apiman-user-bounces@lists.jboss.org>>
On Behalf Of AntonyJoyson, MariyaGeorge
Sent: Tuesday, March 5, 2019 10:08 AM
To: apiman-user@lists.jboss.org<mailto:apiman-user@lists.jboss.org>
Subject: [Apiman-user] Please reply : API Curl call user registration
Hi team,
I am new to keycloak sso. I need to integerate user registration with keycloak in a curl
method can you please send me / guide me to register the users in curl api method, Please
reply.
url
http://{keycloak}/auth/admin/realms/{realm}/users<http://%7bkeycloak%7d/auth/admin/realms/%7brealm%7d/users>
Params
{"enabled":true,"attributes":{},"username":"test123aj","emailVerified":"","email":"test@test.in1<mailto:test@test.in1>","firstName":"test1","lastName":"test1","requiredActions":["UPDATE_PROFILE"]}
Headers
'Content-type: application/x-www-form-urlencoded'
'Authorization: Basic ' . base64_encode($this->client_id . ':' .
$this->secret)
Thanks and Regards
Joyson Anto ~ Aj
Antony Joyson M
Software Engineer
TSG
SPi Global
M +91 9551347970
M.AntonyJoyson@spi-global.com<mailto:M.AntonyJoyson@spi-global.com>
www.spi-global.com<http://www.spi-global.com/>
SPi Global - Philippines Best Employer 2018, 13th Employer Branding Awards, Employer
Branding Institute - India and 2018's Top 25 AI Companies in APAC by CIO Advisor
CONFIDENTIALITY NOTICE: This email, including its attachments, is intended for the use of
the person/s it is addressed to. It may contain personal data, or information that is
protected or privileged, which are protected from unauthorized use or disclosure by law.
If you are not the intended recipient, any dissemination, retention or use of any
information contained in this email is prohibited. If you have received this email in
error, please promptly notify the sender by reply email and delete the original email and
any backup copies without reading them.
If you have questions or clarifications regarding any matter relating to data protection,
you may write to the SPi Global Data Protection Office at
dpo@spi-global.com<mailto:dpo@spi-global.com>. You may also file a complaint or
report a security incident involving personal data by writing to:
dpo@spi-global.com<mailto:dpo@spi-global.com>.