Closed after-ephemera closed 2 weeks ago
Using JS in the browser according to the article. I don't yet have a client, so I'm just requesting a template token.
Using JS in the browser according to the article. I don't yet have a client, so I'm just requesting a template token.
https://github.com/DarrenBaldwin07/clerk-rs/pull/49#pullrequestreview-2101879374
In doing some testing with long lived tokens I realized that
clerk-rs
expects thesid
field to be present when decoding JWTs. However, long-lived template tokens don't appear to have that field on the payload. From jwt.io decoding of a long-lived token of mine:I propose making the
sid
field optional.