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

 

Params

{"enabled":true,"attributes":{},"username":"test123aj","emailVerified":"","email":"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
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. You may also file a complaint or report a security incident involving personal data by writing to: dpo@spi-global.com.