Module Oidc.Userinfo

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

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