I am using the Universal login page and am having trouble getting my application to redirect after signup. I have this in the embedded login script:
if(config.extraParams.errorMessage){
lock.show({
flashMessage:{
type: 'error',
text: config.extraParams.errorMessage
}
});
} else {
lock.show({loginAfterSignup: false});
}
After signup, the user is redirected to localhost+ my email verification lock, instead of the domain. Callback url is set to the right domain. Any ideas as to what could be going on here?