DEV Community

Discussion on: How do you share authentication in micro-frontends

Collapse
 
ldco2016 profile image
Daniel Cortes

this sounds like google OAuth, the idea of redirecting the user out somewhere to be authenticated, but I am actually trying to put this together right now with a react microfrontend not built with CRA and an Express API and I am hitting a wall where the proxy is not working, I get a 404 on that localhost:5000/auth/google proxy. Anything a bit more involved than what you have here on how to resolve that?

Collapse
 
kleeut profile image
Klee Thomas

Hi Daniel, good pickup. This is based on Open ID Connect (OIDC) which is built on top of the OAuth2 psec.

Sorry I don't think I can help you without seeing the code on this one. Best of luck figuring it out.