Skip to content

Granular plugin system #2

@boazpoolman

Description

@boazpoolman

Currently this plugin registers all content-types that are needed to use the following Better Auth plugins:

  • Two Factor
  • Username
  • Anonymous
  • Email OTP
  • Generic OAuth
  • JWT
  • Magic Link
  • One Tap
  • Passkey
  • Phone Number

However, that causes your Strapi DB to be littered with tables that you might not even use. Ideally we only register the content-types for which the corresponding Better Auth plugin has been configured. The problem with that however is that I could not find a way to dynamically register content-types for Strapi. So unless we solve that problem, the only option we have is to create a new Strapi plugin for each Better Auth plugin that requires schema changes. We could call them providers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions