Skip to content

Conversation

@eablack
Copy link
Contributor

@eablack eablack commented Aug 11, 2025

W-19264912

Description

This PR adds domain validation for making outbound requests. Authentication will only happen for valid domains, and host resolution will only work for valid domains, otherwise defaulting to heroku.com

Testing

  1. Pull down this branch and npm install && npm run build
  2. HEROKU_HOST=bogus-domain.com npm run example whoami

@eablack eablack requested a review from a team as a code owner August 11, 2025 18:46
Copy link
Member

@mars mars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice enhancement 🙌

Co-authored-by: Justin Wilaby <[email protected]>
Signed-off-by: Eric <[email protected]>
Copy link
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eablack eablack changed the title feat: add domain name validation for outgoing requests W-19264912 feat: add domain name validation for outgoing requests Aug 11, 2025
@eablack eablack merged commit c710d42 into main Aug 12, 2025
6 checks passed
@eablack eablack deleted the eb/add-domain-validation branch August 12, 2025 16:52
@eablack eablack changed the title W-19264912 feat: add domain name validation for outgoing requests feat(W-19264912): add domain name validation for outgoing requests Aug 12, 2025
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

Successfully merging this pull request may close these issues.

3 participants