@vendasta/iamv2

SDK to interact with the iam service

Usage no npm install needed!

<script type="module">
  import vendastaIamv2 from 'https://cdn.skypack.dev/@vendasta/iamv2';
</script>

README

iam SDK

Parsing Tokens

A helper parseTokenInsecure is provided for parsing claims from tokens.

Note that this does not verify the validity of the token, only extracts the data contained inside.

You may use this to make assumptions about the active user, but ensure that your endpoints are still performing reasonable access checks, and your application has performed any recommended token validation (ex. during OpenID)