package oidc

  1. Overview
  2. Docs
val validate : jwt:Jose.Jwt.t -> string -> (string, [> `Missing_sub | `Sub_missmatch ]) result

Validate that sub returned from userinfo is the same as in the id_token

OCaml

Innovation. Community. Security.