[Apiman-user] Please reply : API Curl call user registration

AntonyJoyson, MariyaGeorge M.AntonyJoyson at spi-global.com
Tue Mar 5 08:13:08 EST 2019


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 at 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 at spi-global.com. You may also file a complaint or report a security incident involving personal data by writing to: dpo at spi-global.com.



From: Melih Ozdemirkan [mailto:Melih.Ozdemirkan at avivasa.com.tr]
Sent: Tuesday, March 5, 2019 6:19 PM
To: AntonyJoyson, MariyaGeorge <M.AntonyJoyson at spi-global.com>; apiman-user at 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-simple
https://github.com/keycloak/keycloak-quickstarts/tree/latest/user-storage-jpa

Melih

From: AntonyJoyson, MariyaGeorge <M.AntonyJoyson at spi-global.com<mailto:M.AntonyJoyson at spi-global.com>>
Sent: Tuesday, March 5, 2019 3:41 PM
To: Melih Ozdemirkan <Melih.Ozdemirkan at avivasa.com.tr<mailto:Melih.Ozdemirkan at avivasa.com.tr>>; apiman-user at lists.jboss.org<mailto:apiman-user at 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 at spi-global.com<mailto:M.AntonyJoyson at 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 at spi-global.com<mailto:dpo at spi-global.com>. You may also file a complaint or report a security incident involving personal data by writing to: dpo at spi-global.com<mailto:dpo at spi-global.com>.



From: Melih Ozdemirkan [mailto:Melih.Ozdemirkan at avivasa.com.tr]
Sent: Tuesday, March 5, 2019 12:49 PM
To: AntonyJoyson, MariyaGeorge <M.AntonyJoyson at spi-global.com<mailto:M.AntonyJoyson at spi-global.com>>; apiman-user at lists.jboss.org<mailto:apiman-user at 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 at lists.jboss.org<mailto:apiman-user-bounces at lists.jboss.org> <apiman-user-bounces at lists.jboss.org<mailto:apiman-user-bounces at lists.jboss.org>> On Behalf Of AntonyJoyson, MariyaGeorge
Sent: Tuesday, March 5, 2019 10:08 AM
To: apiman-user at lists.jboss.org<mailto:apiman-user at 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 at test.in1<mailto:test at 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 at spi-global.com<mailto:M.AntonyJoyson at 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 at spi-global.com<mailto:dpo at spi-global.com>. You may also file a complaint or report a security incident involving personal data by writing to: dpo at spi-global.com<mailto:dpo at spi-global.com>.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190305/b39a2711/attachment-0001.html 


More information about the Apiman-user mailing list