Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Custom HTTP client for communication with supertokens core #237

Open
jonathanmyers opened this issue Feb 3, 2023 · 1 comment
Open

Comments

@jonathanmyers
Copy link

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
@rishabhpoddar
Copy link
Contributor

hey @jonathanmyers thanks for this issue. It's not a priority for us at the moment, especially given that there are workarounds that you mentioned.

But feel free to make a PR for this :) Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants