hoauth2

Haskell OAuth2 authentication client

https://github.com/freizl/hoauth2

Version on this page:1.16.0
LTS Haskell 19.19:2.3.0
Stackage Nightly 2022-08-19:2.5.0
Latest on Hackage:2.5.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.16.0@sha256:161b20369ce80cd8348e448e3b307e7850c3d21e8ae4f1e258dbd04d0da34a65,5629

Build Status Hackage

Introduction

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

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.