aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

We are having trouble with both `0.0.0.0` and `0.0.0.1` with [Stripe Elements UI](https://docs.stripe.com/payments/payment-element) for collecting payment card details.

Open javiercn opened this issue 1 year ago • 1 comments

          We are having trouble with both `0.0.0.0` and `0.0.0.1` with [Stripe Elements UI](https://docs.stripe.com/payments/payment-element) for collecting payment card details.
  1. Stripe Elements UI's JavaScript does not allow being hosted on IP-based hostnames
  2. Stripe backend does not allow redirecting to IP-based hostnames, to return to the app after adding payment card

Another usecase is locking down google maps API keys to specific domains, we were not able to make this work with 0.0.0.0. I'm sure there are many similar situations with other JavaScript libraries.

We really need this to be configurable to localhost 🙏

Originally posted by @angularsen in https://github.com/dotnet/maui/issues/24884#issuecomment-2410966903

javiercn avatar Oct 14 '24 13:10 javiercn