Click in order · Vibe coding with Claude Code course · Module 9: Discord clone
Ordering: Getting the session on the server
Click to build the server-side session retrieval: await auth.api.getSession({ headers: await headers() })
Items to click
- auth.api.getSession
- (
- { headers: await headers() }
- await
- )
You can check the correct answer by solving this task in the CodeWorlds game.