okta / okta-oidc-js

okta-oidc-js
https://github.com/okta/okta-oidc-js
Other
394 stars 232 forks source link

decode function ? #1028

Open walshe opened 3 years ago

walshe commented 3 years ago

I don't see a decode function that converts okta tokens into an obj containing header, payload and signature ?

shuowu commented 3 years ago

@walshe You can find the function here: https://github.com/okta/okta-auth-js#tokendecodeidtokenstring

walshe commented 3 years ago

is this possible from the @okta/jwt-verifier lib ?

I am writing an aws lambda so I need to keep libs and sizes to a minimum