Setting up Radius AuthX for Password-less user onboarding.
Tags: oauth, javascript, webdev, tutorial
Published: 2022-03-24 08:10:03

Hello friends, Today will show how to setup a password-less authentication without having to build an authentication feature into your application with Radius AuthX.

[AuthX](https://authx.radius.africa/) is an O-auth2 provider developed by [Radius Africa](https://radius.africa/), It is a service that allows engineers onboard users without having to setup the entire onboarding suite which includes; Authentication and KYC.

## Getting Started
To get started, we will need the following.


1. A Radius AuthX account, you can sign up here - 
 https://dashboard.radius.africa/register.

##Creating an AuthX app
Once an account is created and activated on [Radius](https://dashboard.radius.africa/register). what to do next is to create an AuthX app, an AuthX app is basically designing an authentication form, customizable to meet the requirements of our app's user onboarding process.

To do this you will have to login to our dashboard.
![Radius AuthX Login Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wrs9ojvovhshhplcvsco.png)

After supplying your login details, hit the login button and your will be presented to your dashboard, On the dashboard by the side menu you will locate the AuthX section, click on it to view start creating apps.

![Radius AuthX dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3szu4vrwzrsvt6dlzkwb.png)

On the AuthX page, you will see a list of already created apps you can also find the **Add New** button, clicking on will present you a page with forms to start designing.

Provide the necessary data for the form such as Name, Description, Company Name and Color theme for app personalization.

The verification section of the form is where you specify a unique identifier for your app on-boarding, you can choose between Usernames or Email address.
For passwords, you can configure the validation strength of user input upon sign up.
Alternatively, you can activate social sign on with Gmail or Facebook by toggling the options.

![AuthX Verification](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wb0rybw998j5pk85x629.png)

Also, you can create additional fields of your choice depending on the onboarding requirement of your application.

In the Development section, you are to provide an hosted URL, AuthX will then make requests to the URL and also redirect to the URL supplied in the Redirect URL field upon user authentication success and or failures.

**NOTE:** The URL to supply in the above fields must be live/hosted valid URLs, you can setup a netlify or heroku app URLs if you don't have a domain for your app yet. However if your application is an SPA (Single Page Application) There is no need to provide a redirect URL, you only need to let AuthX know by toggling the SPA option.

For extra security and user data protection, you can also setup a 2FA for either signup or login scenarios, hit the save button to finish your customization.

![AuthX Security and 2FA](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4w0zbjcqjpvocsj51uso.png)
 
AuthX will then generate necessary credentials for your form integration as well as a javascript embeddable code for you to copy and paste in your application.

**Copy and save these keys in a safe place.**
![AuthX Credentials](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s11hla3vn8shulm9qgpu.png)

Once you have your configuration saved, an option for you to get embeddable code will be available click on it to see your code.
![AuthX Preview embeddable code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/piur711qkensj3mchv7r.png)

You also get a preview of the form before you integrate the customized form on your app.
![AuthX form preview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6tilswmyn580jc8ftt3.png)


There you have it, you have just AuthXed like a Pro!

![Daniel Craig 007 Credit: Giphy.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6a7wa0ifom3an2p30jn.gif)

You can explore more on AuthX by going through the API documentation here - https://documenter.getpostman.com/view/15324321/TzJoDLJB

##Important to Note

- Additional Fields on forms can not be edited.
- URL supplied must be a live/hosted URL.
- You can not re-use the same URL in a different AuthX app.