Avoid instantiating multiple objects ReactJS + Vite
I’m building a sample ReactJS + Vite app implementing OAuth2/OIDC flows and DPoP using the oidc-client-ts library and from the documentation I see that to instantiate a UserManager object I’d have to do something along the lines of