Demo application built with the Blazor client-side hosting model (WebAssembly) and .NET Core REST APIs secured by a JWT service.
-
Updated
Apr 13, 2020 - HTML
JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted.
Created by M. Jones, J. Bradley, N. Sakimura
Released May 2015
Auth store
When I assign a token to the auth store it throws an error when it attempts to decode the token. (HTMLElement._tokenChanged (auth-store.html:139))
the token is present at this point.
Uncaught TypeError: Cannot read property 'replace' of undefined
at b.exports (jwt-decode.min.js:1)
at b.exports (jwt-decode.min.js:1)
at HTMLElement._tokenChanged (auth-store.html:139)