Hi guys,
I found that issues but i didn’t fix that.
I can redirect any website, google.com or auth0.com bla bla… but i can not redirect my website, localhot. Cuz sign in or login button first redirect universal login®ister page and this page redirect my website. I wish everybody understood… so how can i fix that ?
exports.onExecutePostLogin = async (event, api) => {
api.redirect.sendUserTo('http://localhost:3000/MyProfile'
); //didn't redirect
}
exports.onExecutePostLogin = async (event, api) => {
api.redirect.sendUserTo('https://google.com'
); //redirect success
}