Skip to content

Docs: Route extension #13

@boazpoolman

Description

@boazpoolman

By default the plugin doesn't provide any content-api routes except for the ones used to authenticate. However, it is possible to extend the plugin and retroactively expose some content-api routes through the extensions folder. This might come in handy if you want to include your Better Auth users / organization in the Strapi content-api. That way you can use that content to render profile pages on your website e.g.

We don't want to provide these endpoints by default, but we should document how one can extend the plugin to get this functionality. In the documentation we should also put a warning banner saying that you should be careful with leaking sensitive data through your public Strapi API. You will likely have to sanitize the the response at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions