Prerequisites
Install the Corbado Node.js SDK:Example
To gain access to authentication state on the server-side we utilize the Corbdo Node.js SDK. We might use it in a server-side event handler function to verify the user is authenticated and retrieve some data in this case:server/api/user-info.ts
Find more info on the Corbdo Node.js SDK in the backend integration section.