@@ -25,6 +25,16 @@
| The repository includes the `zuauth` package and a commented example demonstrating how to create an authentication system using NextJS and IronSession. Use the [demo](https://zuauth.vercel.app/) and refer to the [tutorial](/#-tutorial) section below to understand how to integrate `zuauth` into your app. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+```mermaid
+sequenceDiagram
+ Zuauth-client->>Zuauth-server: getNonce()
+ Zuauth-server->>Zuauth-client: return <>
+ Zuauth-client->>Zupass: requestPCD()
+ Zupass->>Zuauth-client: return <>
+ Zuauth-client->>Zuauth-server: login()
+ Zuauth-server->>Zuauth-client: return <>
+```
+
## 🛠Install
Install the `zuauth` package with npm: