hoauth2

Haskell OAuth2 authentication client

https://github.com/freizl/hoauth2

Version on this page:2.1.0
LTS Haskell 22.18:2.10.0
Stackage Nightly 2024-04-27:2.13.1
Latest on Hackage:2.13.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-2.1.0@sha256:9e6b611b6e7427af5c6c7c5167974ff08b9e4c5521eeadf85c68b1f12d9f89d1,5655

Build lint Travis Status Hackage

Introduction

A lightweight OAuth2 Haskell binding.

Build the sample App

  • Make sure ghc-8.10 and cabal-3.x installed.
  • 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 start-demo
  • open http://localhost:9988

Nix

  • assume cabal-install has been install (either globally or in nix store)
  • nix-shell then could do cabal v2- build
  • or nix-build

Contribute

Feel free send pull request or submit issue ticket.