Haskell OAuth2 authentication client


Version on this page:1.8.4
LTS Haskell 22.12:2.10.0
Stackage Nightly 2024-03-01:2.12.0
Latest on Hackage:2.12.0

See all snapshots hoauth2 appears in

BSD-3-Clause licensed by Haisheng Wu
Maintained by Haisheng Wu
This version can be pinned in stack with:hoauth2-1.8.4@sha256:9c8a22fc99c92dbd6251d798e11334237e4dfc06db3677cdb5231693bd57d64e,5739

Build Status Hackage


A lightweight oauth2 haskell binding.

Build example app

  • make create-keys
  • check the example/Keys.hs to make sure it’s config correctly for the IdP you’re going to test. (client id, client secret, oauth Urls etc)
  • make build
  • make demo
  • open http://localhost:9988


Feel free send pull request or submit issue ticket.