krdlab/haskell-oidc-client


OpenID Connect 1.0 client (RP) library for Haskell

https://hackage.haskell.org/package/oidc-client

License: MIT

Language: Haskell

Keywords: haskell, openid-connect


OpenID Connect 1.0 library for Relying Party

Testing

This package supports implementing of an OpenID Connect 1.0 Relying Party. It's written in Haskell.

This package uses jose-jwt package for decoding a received tokens.

Usage

$ cabal update
$ cabal install oidc-client

The documentation is available in Hackage.

Run example

examples/scotty is a runnable code. If you try to run it, execute commands as follows:

$ stack build --flag oidc-client:build-examples

and then

$ export OPENID_CLIENT_BASE_URL="http://localhost:3000"
$ export OPENID_CLIENT_ID="Your client ID"
$ export OPENID_CLIENT_SECRET="Your client secret"
$ stack exec scotty-example

You can access to http://localhost:3000/login.

Project Statistics

Sourcerank 7
Repository Size 266 KB
Stars 27
Forks 28
Watchers 4
Open issues 4
Dependencies 0
Contributors 16
Tags 12
Created
Last updated
Last pushed

Top Contributors See all

Sho Kuroda Parnell Springmeyer YAMAMOTO Yuji Evan Borden Tom Carsten KevinLe563 Daniel K Sibi Prabakaran Kobayashi jade Akii 日比野 啓 (Kei Hibino) Michael Snoyman tv Fabien Boucher

Packages Referencing this Repo

oidc-client
This package supports implementing of an OpenID Connect 1.0 Relying Party. Examples: https://git...
Latest release 0.8.0.0 - Updated - 27 stars

Recent Tags See all

0.7.0.1 November 21, 2022
0.7.0.0 November 10, 2022
0.6.1.0 June 11, 2022
0.6.0.0 November 15, 2020
0.6.0.0 November 15, 2020
0.5.1.0 March 31, 2020
0.5.0.0 January 25, 2020
0.3.0.1 August 11, 2017
0.3.0.0 November 03, 2016
0.2.0.0 November 03, 2015
0.1.0.1 October 17, 2015
0.1.0.0 September 26, 2015

Something wrong with this page? Make a suggestion

Last synced: 2024-01-15 11:42:32 UTC

Login to resync this repository