Error "domain option is required" and "Auth0Cordova.AUTHENTICATION_TYPES.auth0" is not undefined

My node version and angular version are below ,
ionic version is 4.12.0.
Angular CLI: 7.2.4
node -v : Node: 8.11.2
npm -v : ‘5.6.0’.

Here is my authentication info:
Token Name : projectToken
Auth URL : http://{hostname}/demo-0.0.1-SNAPSHOT/oauth/authorize
Access Token URL : http://{hostname}/demo-0.0.1-SNAPSHOT/oauth/token
Client ID : foo
Client Secre : bar