By: Nicolas Assain user 07 Jun 2020 at 6:09 p.m. CDT

1 Response
Nicolas Assain gravatar
Hi Team, Would it be possible to include the User Registration link as a button on the Login Page? I have enabled the User Registration Custom Script. The drawback is that we have to point the customer to a different URL, and we would like to include this Registration URL into a button or a link into the Login page directly. Is this possible? Thanks in advance!

By Michael Schwartz staff 07 Jun 2020 at 9:07 p.m. CDT

Michael Schwartz gravatar
If you want to build your own custom registration page--which is an excellent idea, because we don't recommend making Identity Internet facing--the best way to do that is to process the registration page in your application, and then [make a back channel call to the Gluu Server SCIM endpoint (i.e. POST to the /Users endpoint)](https://gluu.org/docs/gluu-server/4.1/user-management/scim2/). Note: to call the SCIM /Users endpoint, you need to present an UMA RPT token. When you install community edition, a client is automatically created for you, and you can use that client for your code. Another way to handle registration is using a person authn interception script. There is a [sample registration authn script here](https://github.com/GluuFederation/oxAuth/tree/master/Server/integrations/custom_registration)