Skip to content

Does there have any way use this in server side? #1925

@www-xu

Description

@www-xu

Description

I'm working on a website, using clerk as the user management. I wanna inject the auth token provided by the clerk by middleware. But the method used to get the token can only be used within the Components or server side. Does there have a good way to inject token?

Proposal

I wanna inject the auth token by middleware without wrapping all methods or manually injecting it within Components.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestopenapi-fetchRelevant to the openapi-fetch library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions