Skip to content

Conversation

csvn
Copy link

@csvn csvn commented Sep 11, 2025

The docs did not show that it's possible to use * as wildcard for subdomains when using hostname for --allow-net.

deno run --allow-net="*.auth0.com" main.ts

Just using "auth0.com" will not allow ".eu.auth0.com". To allow any subdomain with --allow-net, a wildcard must be used. This proposed change should hopefully make the docs clearer on how to correctly configure permissions.

This is extra important now that it's possible to configure permissions via deno.jsonc, which makes it easier to make more details settings for permissions:

{
  "permissions": {
    "default": {
      "net": ["*.auth0.com"]
    }
  }
}

@thisisjofrank thisisjofrank enabled auto-merge (squash) September 16, 2025 10:12
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.

2 participants