JavaScript: Sign in a user through OAuth

Log in an existing user via a third-party provider. This method supports the PKCE flow.

Parameters