Looking to build your own membership portal? Need people to sign up and create a profile on your website?

Authentication is the method of letting website users authenticate with your application and “log in”, so to say. Implementing authentication on your web app can be complex, and even a little risky.

Luckily, this feature is built-in in Ycode. You don’t need to connect any third-party tools or services to authenticate users. This makes things a lot easier for you. 

Ycode automatically takes care of scaffolding your application with the correct routes, controllers and views needed to register and authenticate users. 

By simply enabling authentication in the settings, we’re automatically setting you up with login, signup, password reset and new password confirmation pages. The simple templates are styled with TailwindCSS, giving you a great foundation to further design your authentication pages.

Of course, you’re also welcome to build your own authentication pages from scratch.

Note: Keep in mind that if you decide to build these pages from scratch you won't have access to Ycode "authentication security" unless you enable Authentication, this means that users will be able to signup to your website using the same email address as another user, so we highly recommend enabling Ycode authentication for the creation of these pages.

Adding authentication pages

  1. Click on Settings (gear icon) in the left sidebar

  2. Click Enable

  3. Open the Pages tab in the left sidebar. You’ll now see the new authentication pages are in the pages menu

You now have all of the authentication pages available for you to use and even change the design of those same pages accordingly.

Once authentication is enabled you will be able to change the password reset email message.