hoauth2: Haskell OAuth2 authentication client

[ library, mit, network, oauth2 ] [ Propose Tags ]
Versions [RSS] 0.1, 0.1.2, 0.2.0, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.5.1, 0.2.6, 0.3.0, 0.3.5, 0.3.6, 0.3.6.1, 0.3.7, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.5.0, 0.5.0.1, 0.5.1, 0.5.2, 0.5.3, 0.5.3.1, 0.5.4.0, 0.5.5.0, 0.5.6.0, 0.5.7, 0.5.8, 0.5.9, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9.0, 1.9.1, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.16.1, 1.16.2, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.8.1, 2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.13.1 (info)
Dependencies aeson (>=1.3.0.0 && <1.6), base (>=4.5 && <5), binary (>=0.8.3.0 && <0.8.9), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.7), exceptions (>=0.8.3 && <0.11), hashable (>=1.2.6 && <1.4.0), hoauth2, http-conduit (>=2.1 && <2.4), http-types (>=0.11 && <0.13), microlens (>=0.4.0 && <0.5), mtl (>=2.2.1 && <2.3), mustache (>=2.2.3 && <2.4.0), parsec (>=3.1.11 && <3.2.0), scotty (>=0.10.0 && <0.13), text (>=0.11 && <1.3), unordered-containers (>=0.2.5), uri-bytestring (>=0.2.3.1 && <0.4), uri-bytestring-aeson (>=0.1 && <0.2), wai (>=3.2 && <3.3), wai-extra (>=3.0.21.0 && <3.2), wai-middleware-static (>=0.8.1 && <0.8.4), warp (>=3.2 && <3.4) [details]
License BSD-3-Clause
Copyright Haisheng Wu
Author Haisheng Wu
Maintainer Haisheng Wu <freizl@gmail.com>
Category Network
Home page https://github.com/freizl/hoauth2
Source repo head: git clone git://github.com/freizl/hoauth2.git
Uploaded by HaishengWu at 2020-09-23T02:42:01Z
Distributions Arch:2.7.0, Debian:1.14.0, Fedora:2.8.0, FreeBSD:0.4.8, LTSHaskell:2.10.0, NixOS:2.10.0, Stackage:2.13.1
Reverse Dependencies 17 direct, 2 indirect [details]
Executables demo-server
Downloads 52621 total (290 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-09-23 [all 1 reports]

Readme for hoauth2-1.15.0

[back to package description]

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.