ulrikstrid/ocaml-oidc

OpenID Connect implementation in OCaml. Currently only the RP (client) parts are polished.

OCaml

51

127 commits

updated Nov 5, 2025

See the code

README

ocaml-oidc

OpenID connect implementation in OCaml.

Certified OpenID Connect mark

Folder structure

ocaml-oidc
│
├─executable/  Entrypoint for a webserver/OIDC client
│
├─library/     Implementation for the webserver
│
├─oidc/        Core OIDC implementation
│
├─oidc-client/ OIDC Client implementation
│
├─test/        tests
│

Developing:

npm install -g esy redemon reenv
git clone <this-repo>
esy install
esy build

Running Binary:

After building the project, you can run the main binary that is produced. This will start a webserver with a OIDC client configured for certification.

esy start

Running Tests:

# Runs the "test" command in `package.json`.
esy test
ocaml
oidc
oidc-client

Contributors

ulrikstrid

109 commits

anmonteiro

15 commits

andreypopp

2 commits

cironunes

1 commits

ulrikstrid/ocaml-oidc

OpenID Connect implementation in OCaml. Currently only the RP (client) parts are polished.

OCaml

51

127 commits

updated Nov 5, 2025

See the code

README

ocaml-oidc

OpenID connect implementation in OCaml.

Certified OpenID Connect mark

Folder structure

ocaml-oidc
│
├─executable/  Entrypoint for a webserver/OIDC client
│
├─library/     Implementation for the webserver
│
├─oidc/        Core OIDC implementation
│
├─oidc-client/ OIDC Client implementation
│
├─test/        tests
│

Developing:

npm install -g esy redemon reenv
git clone <this-repo>
esy install
esy build

Running Binary:

After building the project, you can run the main binary that is produced. This will start a webserver with a OIDC client configured for certification.

esy start

Running Tests:

# Runs the "test" command in `package.json`.
esy test
ocaml
oidc
oidc-client

Contributors

ulrikstrid

109 commits

anmonteiro

15 commits

andreypopp

2 commits

cironunes

1 commits

Languages

OCaml

85.9%

JavaScript

6.6%

Nix

4.9%

Shell

1.3%

Dune

1.3%