Not really. The libraries should do what my own app does: render the vendor website (Tesla or whoever) in a browser window and let the user enter their creds securely. You can then capture the auth code from the redirect just fine.
There are right and wrong ways to do OAuth both in server and client, and many, many implementations do it wrong.