Independent ADV Sign-In
Auth0 authenticates the ADV user. Microsoft 365 and Google Workspace remain optional organization connectors rather than owners of the ADV identity.
Required Auth0 Objects
Create these in your independent Auth0 tenant.
Netlify Environment Variables
Auth0 SPA client ID/domain/audience are configuration; owner mapping and role maps are still kept server-side.
ADV_AUTH_REQUIRED
Keep false during setup. Change to true only after login and API token validation pass.
ADV_AUTH0_DOMAIN
Your Auth0 tenant/custom domain without https://.
ADV_AUTH0_CLIENT_ID
The Auth0 Single Page Application client ID.
ADV_AUTH0_AUDIENCE
The identifier/audience of the ADV Operations API.
ADV_AUTH0_OWNER_SUBS
Comma-separated Auth0 subject IDs that always resolve to ADV Administrator. Start with your independent owner identity.
ADV_AUTH_ROLE_MAP_JSON
Optional server-side subject โ ADV role mapping for exceptions/bootstrapping.
Cutover Sequence
This prevents accidentally locking ourselves out.
ADV_AUTH_REQUIRED=false.sub and set it as ADV_AUTH0_OWNER_SUBS.ADV_AUTH_REQUIRED=true and redeploy.Prepared Files
Everything tenant-neutral is already built.