Skip to content

Enable Custom HTTP client for communication with supertokens coreΒ #237

Open
@jonathanmyers

Description

@jonathanmyers

Environments like google cloud run require authentication for private service to service communication. This is currently difficult to accommodate between the sdk and supertokens core since there are no direct means of changing that client behavior.

Enabling some customization would help deployments in cloud run as well as other similar environments.

Workarounds include

  • Making the supertokens core endpoint public
  • Doing some network indirection using serverless vpc access and a load balancer
  • Using runsd to proxy outbound requests and add the necessary headers

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