As I said, the user doesn’t log in to WordPress directly. My application creates a WordPress account for them and interacts with WordPress REST APIs on their behalf. The user never interacts directly with WordPress site.
You said that a new user is created when they log in. But they don’t log in, only my app accesses WordPress.
So how would I use the normal Firebase auth process and automatically create a WordPress user in the same process without the user having to log in to a WordPress site.