npm better-auth 1.1.0
v1.1.0

latest releases: 1.4.7, 1.4.7-beta.4, 1.4.7-beta.3...
11 months ago

    🚀 New Features

  • OIDC Plugin: An experimental new plugin that lets you create your own OIDC-compliant server. Checkout plugin docs  -  by @Bekacru in #765 (4555f)
  • Enterprise SSO Provider: A new plugin that allows you to sign in users with OIDC servers configured by users. It handles provisioning new users, integrates with the organization plugin, and more. (SAML support coming soon!) Checkout plugin docs  -  by @Bekacru in #951 (f9102)
  • Hooks: a new API for hook. You no longer need to create a plugin—these allow you to modify any requests and responses within Better Auth. Check out Hook Docs  -  by @Bekacru in #916 (384ef)
  • Better Auth Utils: We made a typescript auth utility and Better Auth now depends on that for auth related utility needs.  -  by @Bekacru in #852 (74b6e)
  • Stop Impersonating API: Admins can now stop impersonating a user and return to their session without logging out and back in. .  -  by @Bekacru in #883 (97725)

    ✨ Improvements and API Changes

  • Endpoints that previously returned the entire user object now only return a token. This change allows for storing sensitive fields in the user table and eliminates unnecessary returned data. As a result, all endpoints, except /get-session, now enforce this.  -  by @Bekacru in #968 (eacf0)
  • Expo plugin now requires a storage to be passed instead of defaulting to secure storage.  -  by @hyoban in #931 (d8a26)
  • By default the bearer plugin now accepts unsigned tokens and provides an option to require signed tokens only.  -  by @Bekacru in #953 (9ab5d)
  • User deletion now offers an improved user experience. It introduces a callback URL to redirect users to custom pages after their account is removed. Additionally, it accepts a token, to enable custom flows.  -  by @Bekacru in #929 (cfd24)
  • Replaced Consola with a custom logger for better compatibility with Cloudflare deployments.  -  by @Bekacru in #948 (e6dc7)
  • Export available provider types  -  by @TinsFox in #936 (b4594)

   🐞 Bug Fixes

    View changes on GitHub

Don't miss a new better-auth release

NewReleases is sending notifications on new releases.