Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 834 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 834 Bytes

OktaJWTVerifier.jl

Simple package for verifying Okta JWTs written in pure Julia.

GitHub Actions : Build Status

codecov.io

Usage

Usage is simple in that you first create a Verifier instance and then use that to verify tokens, access or id.

using OktaJWTVerifier
v = OktaJWTVerifier.Verifier("https://myoktadomain.okta.com/oauth2/default"; claims_to_validate=Dict("aud" => "myoktaaudience"))
verify_access_token!(v, "myoktaaccesstoken")
verify_id_token!(v, "myoktaidtoken")