Wappler documentation
Security and Login — Original guides
Illustrated security and login guides, with the original steps and examples preserved.
Choose a guide. Version notes identify original instructions that use an earlier interface or framework.
Guides (15)
Getting Details of the Logged In User and Binding them to your pagePersonalise your clients browsing experience by knowing who they are. You can get the logged in user details by filtering the user table in your database, by the logged user ID. This gives you access HTTP Security Headers Configuration in WapplerIntro Wappler now makes it easy to configure HTTP Security Headers in your Node.js projects through the built-in Helmet middleware . These headers help protect your app from common web vulnerabilitiesLogged User Session NameWhen you setup a log in system, a session is being created by the log in script and it contains the logged user identity. This session and its value can be accessed by any other script by calling it (Create a working login formThe complete connection between a Security Provider, a login action and the page’s success/error states.Logout - Create a Working User Logout ButtonWappler makes Logging out users a simple step by step process In order to log users out you need to create a server action and link it to a Log Out button, when your button is clicked it performs all Password Reset Functionality: Part 1In Part 1 of Password Reset Functionality we will cover the following: Creating the request new password page User email validation Generating and sending the unique password reset link to user’s emaiPassword Reset Functionality: Part 2In Part 1 of Password Reset Functionality tutorial you learned how to: Create the request new password page Add user email validation Generate and send the unique password reset link to user’s email IRedirecting on Login Based on User RolesSometimes you need to redirect users on log in, based on their roles. For example admins go to one page, while regular users go to another one. This can easily be done with a condition in the Browser Register a user and sign in after successA registration action with validation, password hashing, a fixed initial role and login after insertion.Security - Restricting Access to Your PageWappler helps you easily restrict access to your pages and redirect users with insufficient privileges After you created your login page, now you will learn how to restrict access to your pages. If yoSecurity - Secure your Server-Side dataWappler knows how important and sensitive server data can be and provides simple setup to ensure it can not be accessed by unauthorised users Using the security provider tools you can secure your servSetting up Site Security SettingsUsing the Security Provider you can define the security settings for the whole project and reuse them on all of your pages. We will go through each of the available options - from single user to databUsing Argon2 Secure HashesIntro Using the Argon2 hashing algorithm requires a little different workflow for creating and validating the users using Security Provider. In this tutorial we will show you what’s different and how Using OAuth2 Connector with FacebookOverview Using the OAuth2 Connector in Wappler you can add a “social login” option to your website, so the users can directly login using their Facebook account. In this tutorial we will show you how Using OAuth2 Connector with GoogleOverview Using the OAuth2 Connector in Wappler you can add a “social login” option to your website, so the users can directly log in using their Google account. In this tutorial, we will show you how