Commit Graph
5 Commits
Author SHA1 Message Date
Charis 2f80b9b3b6 fix: jwt generator (#34908)
The old JWT generator code provided the anon and authenticated claims as strings. The format of this string is different from the format determined by KJUR if an object is provided (I'm guessing probably a whitespace or quote character thing, but I didn't dive down this rabbit hole.) This leads to incompatibilities when the token is used.

To prevent this, the tokens are now defined as objects and KJUR's own serialization is used.
2025-04-18 12:30:07 -04:00
Terry SuttonandCharis 4bbb9fa9ca Chore/update self host guide (#30167)
* Update self-host guide

* Undo changes

* Update apps/docs/content/guides/self-hosting.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/self-hosting/docker.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Some changes to make benefit prettier

* Vale fixes

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-30 16:53:42 +00:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
O-AdityaandCharis Lam 1775dd17de Fix #26802: Implement client-side only JWT secret generation (#26831)
* Fix #26802: Implement client-side only JWT secret generation

* generate random string with getRandomValues

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-06-03 14:56:55 +00:00
Charis b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00