I can't express my feelings of your "new" credential manager flow. Not only it is much less functional than before (previous was not a masterpiece, sure). But in 2024 it is almost impossible to incorporate it into multiplatform application with dependency injection, and here are two main reasons:
There is a library KMPAuth that tries to fix this. But it is a shame that Google's front end - Authentication - looks so ugly.