To customize tthe login screen, set the login.template property in the config passed to oauthHandler.
VoiceCommerce uses pug for templating.
const oauthConfig = {
login: {
template: 'custom_login.pug'
}
clients: [...]
}The login form should send a POST request to the the same URL, with username and password fields.
form(method="POST")
input(type="text" name="username")
input(type="password" name="password")
input(type="submit" value="Submit")