mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-11 04:19:31 +00:00
* feat: add an option to encrypt tokens by default * feat(auth): add OAuth token encryption support * refactor(auth): streamline token handling in OAuth callback by utilizing setTokenUtil * refactor(auth): replace direct token handling with setTokenUtil for improved clarity and maintainability * refactor(auth): unify token handling by utilizing setTokenUtil for access and refresh tokens * docs(auth): enhance documentation for OAuth token encryption, clarifying security risks and benefits * chore: cleanup * update test