How to restrict user self registration?

Hi all

In short - is there a way to restrict user self-registration so only “admin” (defined in our app) will be the source of provisioning ?

long story - today, if we check in the realm settings the ability to “Register” and re-direct the user to the login page (using this URL: http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/auth? client_id=WebClient&response_mode=fragment&response_type=code&login=true&redirect_uri=https://localhost:5001/login), the user will also get a “register” button where he can add another user.
this is not good for our flow.

what we want is 2 things:

  1. Hide the register button\link from the login page
  2. Create a dedicated “register” buttom from our website (that only admin will see) that will redirect to a registration page (and what will be the URL for this ?)

are those 2 things possible together?

I am not sure but I would look if there is a way to customize the registration flow from Authentication option under realm?