Getting Started
Implementing Login in Just One Minute
Welcome to Getting Started. Here, we will learn how to integrate Furo.js into your website and implement a login feature.
Step 1: Adding the Script to Your HTML File
Please add the following script file inside the <head>
tag of your HTML.
Step 2: Initializing Furo.js
Add the script block below inside the <body>
tag.
If the initialization is successful, you should see a message Furo JS initialized
in the console.
For more details on initialization, check here.
Step 3: Adding a Login Button
Copy the <button>
tag and paste it into your HTML editor, then give it a try.
Step 4: Trying Out the Login
Did you see the login UI appear when you clicked the button?
Try logging in with your account.
Is it safe to try logging in?
Is it safe to try logging in?
The login UI you see is a sample project created by Furo, which is securely
managed by Furo.
Rest assured, no one else can see your information, so feel free to try logging
in.
Step 5: Retrieving Logged-In User Information
Now, you can retrieve the logged-in user’s information from anywhere using furo.user
.
Try printing furo.user
in the console of the developer tools.
Congratulations!
Congratulations! You have completed the Furo.js login tutorial in just one minute.
For more detailed information, refer to the Guides section.