Redirect to another nodejs application

HI all, I am new to octa and to node.js so apologies if my question is lame. I found Okta very useful and super easy for implementation.

I installed Simple-Node-Express authentication. and works, but I am trying to redirect users to their own “profileUrl” so that profile url actually opens. it is another app (node-red) running on same server on different port. Only way I can retrieve is just address

image
Now, I dont want that address be clickable like iframe but to load in same window as /something

Update, I tried this way

router.post('/', async (req, res, next) => {

try {
Object.assign(req.node_portal)

await req.user.update()

} catch (error) {
console.log(error)
}

next()
})

router.use(’/’, (req, res, next) => {
res.redirect(‘node_portal’)
})

module.exports = router

But I am getting not found error