preview, staging, and production environments.
Each environment is protected by default. Use this guide when a browser, CI
check, or API client must reach a deployed environment.
Check a protected environment
Open the environment URL in a browser signed in as a project member. A protected environment serves the request when it carries that member’s session in theauthToken cookie.
To inspect an unauthenticated response, probe a route the project serves:
302 sign-in redirect. The sign-in apex
depends on the host serving the environment:
*.veryfront.comredirects tohttps://veryfront.com/sign-in.*.preview.veryfront.orgredirects tohttps://veryfront.org/sign-in.
redirect_url. The session cookie is scoped to that
domain.
Authenticate a non-browser client
A non-browser client can still authenticate by sending theauthToken cookie
with a project member’s session token. Store that token as a secret and account
for its expiration.
VERYFRONT_API_TOKEN does not open a protected environment. It authenticates
the CLI against the Cloud API, not requests to the deployed app. A signed-in
user who is not a member of the project gets a 403.
Make an environment public
In Veryfront Studio:- Open Environments.
- Select the environment.
- Enable Public Environment.
- Confirm Make Public.
Verify it worked
Repeat the route probe:200 from
the environment root when the project has no static page at /.
See Deployment behavior for readiness and URL semantics.