Authentication
In the previous chapter, we learned how to register your app to bus.
In this chapter, we will learn how to authenticate users with the help of bus 🚌.
Let's built a UI​
First, we need to build a UI for our app. We will use Tailwind CSS for styling.
export default function App(): JSX.Element {
return <h1>Hello World</h1>
}
To enter the code editing mode, press Enter. To exit the edit mode, press Escape
You are editing the code. To exit the edit mode, press Escape
Now, we need to plug the form to bus. We will use the useBus hook to do that.
export default function App(): JSX.Element {
return <h1>Hello World</h1>
}
To enter the code editing mode, press Enter. To exit the edit mode, press Escape
You are editing the code. To exit the edit mode, press Escape