Using a token
Tokens authorize reusable public names. For the hosted service, clients connect
to https://edge.routeup.dev and receive a namespace under routeup.dev.
You only need a token for reusable named public URLs such as
https://example-app.your-name.routeup.dev. Local-only routes do not need one.
The public address can be claimed again between runs, but it is reachable only
while a tunnel is connected.
Request a hosted token
Section titled “Request a hosted token”Hosted tokens are currently issued manually. Email tokens@routeup.dev with:
- the namespace you would like, such as
your-name.routeup.dev, and - a short note about what you are building.
The token will be returned privately. Store it in a password manager: the server keeps only its hash and cannot show the secret again.
Save a server and token
Section titled “Save a server and token”routeup setup --server https://edge.routeup.dev --token sk_routeup_xxxAfter that, routeup serve --expose can use the saved values.
On an interactive re-run, setup represents the saved token with a masked value. Press Enter to keep it, or clear credentials explicitly:
routeup setup --token none # keep the server, clear only the tokenrouteup setup --server none # clear bothUse environment variables instead
Section titled “Use environment variables instead”export ROUTEUP_SERVER=https://edge.routeup.devexport ROUTEUP_TOKEN=sk_routeup_xxxExpose with the token
Section titled “Expose with the token”routeup serve example-app --port 8080 --exposeIf the token allows *.mukul.routeup.dev, the server can grant:
https://example-app.mukul.routeup.devThe token secret is not recoverable from the server after it is created.
Without a token
Section titled “Without a token”For token-less temporary URLs, see Exposing publicly.