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

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

Update, I tried this way'/', async (req, res, next) => {

try {

await req.user.update()

} catch (error) {


router.use(’/’, (req, res, next) => {

module.exports = router

But I am getting not found error