Universal Portals
A hosted self-service account/organization portal — Auth0 builds and serves the UI, not this app
You build it
My Account API demo
This app calls /me/v1/ directly, renders Auth0's React components itself
You build it
Organizations demo
This app calls the Organizations APIs directly, renders its own UI
Auth0 builds it
Universal Portal
Auth0 hosts the whole page — this app only links to it
Same underlying APIs (My Account, My Organization) back all three. A Universal Portal is a Regular Web App whose server holds the tokens and renders the UI, under Auth0's own domain — no SDK embedding, no app-side login, no proxy route to maintain.
There's nothing to click here in this app — the portal is a separate, Auth0-hosted page with its own login and session. Create your own account on it rather than reusing an existing demo credential: this portal lets you enroll and delete MFA factors on whichever account signs in, so a shared login would mean other visitors clobbering each other's factors.
Open the Universal PortalFrom the portal's sign-up screen, create a fresh account, then try enrolling a TOTP authenticator under Security. Sign out of the portal (not this app) when you're done — its session is entirely separate from anything in this suite.
Beta, non-production tenants only — Universal Portals is not yet available for production use. If you don't see a “Portals” entry in your own Auth0 dashboard, it isn't enabled on your tenant yet; ask Auth0 Support.
The portal is a Regular Web App, not an SDK you embed — creating a portal provisions its own backing application. Tokens stay server-side behind the portal's own session cookie; the browser never sees a bearer token, the same model as this suite's Backend-for-Frontend demo.
One refresh token, multiple scoped access tokens — a Multi-Resource Refresh Token (MRRT) policy lets the portal mint access tokens for the My Account API and My Organization API from the same refresh token, each narrowly scoped to the section being rendered — the same MRRT mechanism the My Account API demo uses, just configured on the portal's app instead of a demo-specific one.
Creating a portal via the dashboard auto-provisions its backing app — with no API access of its own — the application the Portals wizard creates needs its callback/logout URLs, client grant, and MRRT policy configured exactly like any other Auth0 application before its components can call anything. It doesn't arrive pre-wired.
You can view and delete a passkey here, but not add one — adding one needs a custom domain — this portal runs on this tenant's canonical *.auth0app.comdomain, which has no custom domain attached. Creating a new passkey binds it to the origin serving the page via WebAuthn, and a browser won't bind a new credential to Auth0's shared, multi-tenant domain. Listing and deleting an already-enrolled passkey need no such ceremony, so both work fine here, as does TOTP enrollment. Only passkey creationneeds a custom domain — this is a platform constraint, not a bug to configure around.
Strengths
- Nothing to maintain on the application side at all — no SDK, no proxy route, no self-hosted React components. The entire self-service UI is Auth0's own code, running on Auth0's own domain, under Auth0's own release cycle.
- Tokens never reach a browser this app controls — the portal is its own Regular Web App with its own server-side session cookie, the same token-never-leaves-the-server model as this suite's Backend-for-Frontend demo, except Auth0 operates the server.
- Reuses the exact same underlying APIs (My Account, My Organization) the My Account API and Organizations demos call directly — the portal isn't a separate authorization surface, just a hosted UI in front of APIs this suite already demonstrates building yourself.
Risks & Considerations
- Beta, non-production tenants only, as of this writing — there is no supported path to put a Universal Portal in front of real production traffic yet. Anything built against it today should be treated as subject to change without a stable migration path.
- The dashboard's portal-creation wizard auto-provisions its own backing Regular Web App rather than letting you attach an existing one — confirmed live. That auto-created app ships with zero callback/logout URLs and zero API Access grants; every piece of configuration this demo's own security notes call out as required on a manually-created app (client grant, MRRT policy, callback/logout URLs) still has to be set up by hand afterward. It is not a one-click "fully wired" experience.
- Adding a new passkey via the passkey-management page component returns a 400 Bad Request from /me/v1/authentication-methods on this tenant's canonical *.auth0app.com domain, even after the required scope was granted and WebAuthn was enabled tenant-wide. Confirmed live that this is specific to creation: viewing and deleting an already-enrolled passkey through the same component both work fine, as does TOTP enrollment via the identical-looking MFA-management component on the same endpoint. Root cause: passkey creation (navigator.credentials.create()) binds a new credential to the relying-party origin serving the page, and Auth0's canonical domain is a shared, multi-tenant origin a browser won't scope a new credential to. List/delete need no such ceremony, so they're unaffected. A custom domain gives the tenant exclusive control of its own origin, which WebAuthn creation requires. This demo's portal doesn't have one configured, so only passkey creation fails — by design, not by Beta bug.
- A portal's navigation and pages are configured declaratively (JSON via the Management API, or the dashboard's visual editor) rather than in application code — there is no local diff, no code review, and no git history for a portal's own layout and component choices unless that configuration is deliberately mirrored into the owning repo as documentation.
Hardening Checklist
- Treat the portal's backing application the same as any other Auth0 application in this suite — audit its callback/logout URLs, grant types, and API Access scopes explicitly rather than assuming the Portals wizard did it correctly.
- Grant the narrowest set of My Account / My Organization scopes the chosen page components actually call, not every available scope — the same principle as the My Account API demo's own scope-per-operation model. A portal with an organization-details page does not need identity-provider or SCIM-token scopes just because they happen to be in the same API Access dialog.
- If a portal needs to demonstrate adding a new passkey, provision a custom domain for the tenant first — see the Custom Domains demo in this suite for that setup. Creating a passkey on the canonical Auth0 domain will fail every time, regardless of scopes, grants, or WebAuthn being enabled; this is a platform constraint, not something a configuration fix resolves. Viewing and deleting existing passkeys work on the canonical domain today, so a demo can still show that half of the component without a custom domain.
- Don't point a shared or reused test credential at a portal that can enroll/delete authentication factors — unlike a read-mostly demo, concurrent visitors can genuinely interfere with each other's account state. Direct each visitor to create their own throwaway account instead.