I've encountered an error on the emm console when I try to login as the default admin. This happens when I replace the ip address with the domain name. Login into publisher, store and carbon works fine.
Here is the error message on the emm console page:
HTTP Status : 500
{/app/modules/oauth/token-handlers.js} Could not set up token pair by password grant type. Error in token retrieval - setupTokenPairByPasswordGrantType(x, y)
Here are the error messages on the log:
TID: [-1234] [] [2017-02-23 10:29:10,943] ERROR {/app/modules/oauth/token-handler-utils.js} - {/app/modules/oauth/token-handler-utils.js} Error in retrieving access token by password grant type - getTokenPairAndScopesBySAMLGrantType(x, y, z)
TID: [-1234] [] [2017-02-23 10:29:10,944] ERROR {auth-module} - An exception thrown when executing the script '/app/modules/login.js'.
TID: [-1234] [] [2017-02-23 10:29:10,944] ERROR {auth-module} - {/app/modules/oauth/token-handlers.js} Could not set up token pair by password grant type. Error in token retrieval - setupTokenPairByPasswordGrantType(x, y)
How do I resolve this? Thanks.