Try using the Scotty inspired Spock[0] with Spock-auth[1] or consider using Snap[2] or Yesod[3].
Here is a Yesod example[4] that uses Auth.
Here is a Snap example[5] that uses Auth.
> No Node.js tutorial would finish without a working session manager.
Yeah, many Haskell library/framework writers tend to see end to end tutorials as hand holding or see something as Auth as so simple it needs no explanation.
- one is dead
- another is the raw Hackage page for a session library spun off from another project
- the last is a cute hello world for the framework that underpins Scotty.
No Node.js tutorial would finish without a working session manager.