I am splitting angular monolithic application to micro frontends. I am using OIDC with Okta for authentication. What would be best approach to implement OIDC in micro frontends whether each micro frontend should have it’s own OIDC authentication or share tokens between micro frontends with only one OIDC configuration.
I think it should be possible to use the same client ID in both applications. You could also have separate clients. If your backend uses the same issuer for JWT validation, it won’t care what your client ID is.
I’m very interested in this topic and how we can make micro frontends easier. Please keep me updated on your progress!