Next.js Discord

Discord Forum

Vercel Microfrontends with auth0

Unanswered
Tomistoma posted this in #help-forum
Open in Discord
TomistomaOP
Hi all!
Did someone manage to get Vercel's new microfrontends-feature working with auth0? We got the case, that the main-application does not have auth0 installed, but a microfrontend on a sub-path has. So https://domain.com/ has no auth0, but https://domain.com/shop has.
Now we got the issue, that until now /shop was independent, not having the /shop subpath, and linking to https://domain.com/auth/login worked fine, as auth0-middleware was properly creating that route.
Now it seems, that this isn't working in a deployed microfrontend-environment. Did anyone experience and solve something similar?

0 Replies