@corpsmap/create-auth-bundle

Wire your app up to CWBI-AUTH to take advantage of JWT authentication / authorization

Usage no npm install needed!

<script type="module">
  import corpsmapCreateAuthBundle from 'https://cdn.skypack.dev/@corpsmap/create-auth-bundle';
</script>

README

CREATE AUTH BUNDLE

Wire up your application to a CWBI-AUTH instance. CWBI-AUTH uses an ajax request that negotiates a mutual auth session using your CAC card and then issues you a JWT corresponding to the roles recorded relative to your unique user/app combination.