Authentication using username/password

When using 'password' as method in the login() function, username and password are expected as additional parameters. These values should come from a form in your application.

The values will be sent and validated through Boka's API, who will post the login data back to the SDK via the login() callback parameter.