{
                let config = response.data;

                return new Oidc.UserManager({
                    response_mode: config.OIDC_FLOW === "implicit" ? "fragment" : "query",
                    userStore: new Oidc.WebStorageStateStore(),
                    loadUserInfo: false
                });
            })
            .then((oidcUserManager) => {
                return oidcUserManager.signinRedirectCallback();
            })
            .then((user) => {
                const redirectTo = use