Bubble handles user authentication within. They do make JS inputs available to run custom code … though I really doubt that they would enable user management in this way. Do not know for sure though.
There are various ready-made plugins for oAuth as you probable know:
And others …