Haskell OAuth2 authentication client


Version on this page:1.8.9
LTS Haskell 21.13:2.8.0
Stackage Nightly 2023-09-25:2.8.1
Latest on Hackage:2.8.1

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.9@sha256:63929253f6cdeb096a369980d2acf0d7eedd0c98ac46f962f717c56b724069a4,5734

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.