Hey All,
I wanted to announce a little library that a few of us have been working on: servant-oauth2.
It’s a light-weight wrapper around wai-middleware-auth, but done within the context of “modern servant”, so you can lift authentication/authorisation information to the type level.
It’s fair to say it’s in “beta” at the moment; and this is the first (mildly interesting) Haskell library I’ve ever personally been involved in, so please be kind with your feedback
In any case, I hope you potentially find it useful, and we would welcome contributions and feedback, if you have it!
Thanks!