Self Registration with Asgardeo

Kayathiri Mahendrakumaran
Identity Beyond Borders
3 min readOct 10, 2022

Asgardeo provides the capability of self-registration of users where a new user can create a user account in Asgardeo by himself/herself rather than letting the administrator create an account for them.

Asgardeo provides two major categories for sign-up (which are same for login) for a business user.

  1. Create a new identity account directly in Asgardeo (username/password).
  2. Bringing an existing identity(BYOI) from an external system (social authenticators, decentralized IdP, federated IdP, etc).

This blog post provides a step-by-step guide for enabling the Self Sign Up feature with Federated Authenticators in Asgardeo.

Let’s Try this

01 — Enable Self Registration

  1. Login to console
  2. Navigate to Manage->Self Registration->Configure
  3. Enable the self registration (It will be enabled by default)
  4. Enable the account verification.

If the account verification is enabled, the user will receive an email (to the email address provided during registration) which contains a confirmation code. The account will be activated once the user clicks on the received email.

02 — Create an federated IdP

You can try out with any of the configured connections: Google, Github, Facebook, Federated IdP (OIDC or SAML) or Ethereum.

You can follow the official asgardeo docs to configure the above connections.

03 — Configure the sign-in options for an application

We can try out the flow by using a single page application(SPA) with Asgardeo.

  1. Register a SPA.
  2. Run the sample application.

Now you can navigate to the login page of application.

Now, let’s try to configure the login options for an application.

  1. Navigate to Sign-In Method tab of the application edit section.
  2. Click Start with default Configuration.
  3. Add any of the configured connections to the first step (eg: Google).

Now you can navigate to the login page of application and click Create Account.

Now, the business users can continue with any of the configured connections to signup to the application. Any of the federated authenticators you configured as login option in the first step will be available as a sign up option as well.

Once the user completes the authentication steps, a user account will be created in Asgardeo.

Thanks for reading!

--

--

Kayathiri Mahendrakumaran
Identity Beyond Borders

Senior Software Engineer 👨‍💻, WSO2 | Undergraduate👩‍🎓 , Computer Science & Engineering | Writer ✍️