What method are you using right now to render the widget? Are you using showSignIn?
And yeah, my first thought would have been to hide/show or remove the widget after the flow completes. Is there a downside to doing it this way, or are you just trying to explore other options?