hoauth2: Haskell OAuth2 authentication client

[ bsd3, library, network ] [ Propose Tags ]

Haskell OAuth2 authentication client. Tested with the following services:


[Skip to Readme]
Versions [faq] 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
Dependencies aeson (>=1.3.0.0 && <1.5), base (>=4.5 && <5), binary (>=0.8.3.0 && <0.8.7), 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.12), text (>=0.11 && <1.3), unordered-containers (>=0.2.5), uri-bytestring (>=0.2.3.1 && <0.4), uri-bytestring-aeson (==0.1.*), wai (==3.2.*), wai-extra (>=3.0.21.0 && <3.1), wai-middleware-static (>=0.8.1 && <0.8.3), 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 Mon Oct 14 16:22:05 UTC 2019
Distributions Debian:1.7.2, Fedora:1.8.7, FreeBSD:0.4.8, LTSHaskell:1.8.7, NixOS:1.9.0, Stackage:1.8.6
Executables demo-server
Downloads 27111 total (548 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-14 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
test

Build the executables

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hoauth2-1.9.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.