Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krdlab/haskell-oidc-client
OpenID Connect 1.0 client (RP) library for Haskell
https://github.com/krdlab/haskell-oidc-client
haskell openid-connect
Last synced: 9 days ago
JSON representation
OpenID Connect 1.0 client (RP) library for Haskell
- Host: GitHub
- URL: https://github.com/krdlab/haskell-oidc-client
- Owner: krdlab
- License: mit
- Created: 2015-08-26T23:57:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T10:49:57.000Z (3 months ago)
- Last Synced: 2024-09-29T18:34:18.402Z (about 1 month ago)
- Topics: haskell, openid-connect
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/oidc-client
- Size: 266 KB
- Stars: 27
- Watchers: 4
- Forks: 28
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenID Connect 1.0 library for Relying Party
[![Testing](https://github.com/krdlab/haskell-oidc-client/workflows/Testing/badge.svg)](https://github.com/krdlab/haskell-oidc-client/actions?query=workflow%3ATesting)
This package supports implementing of an OpenID Connect 1.0 Relying Party. It's written in Haskell.
This package uses [jose-jwt](http://github.com/tekul/jose-jwt) package for decoding a received tokens.
## Usage
```sh
$ cabal update
$ cabal install oidc-client
```The documentation is available in [Hackage](https://hackage.haskell.org/package/oidc-client).
## Run example
`examples/scotty` is a runnable code. If you try to run it, execute commands as follows:
```sh
$ stack build --flag oidc-client:build-examples
```and then
```sh
$ 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 .