Go to an html page with a node

hello I use a users loging and I want this one after being valid to send me back to the dashbord, I can't find a way to do it can you help me?

you can use the next flow to do it

[
    {
        "id": "0bc27eea38bcff77",
        "type": "change",
        "z": "516351e4ada589ba",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "url",
                "pt": "msg",
                "to": "https://www.xxxxx.nl",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1130,
        "y": 180,
        "wires": [
            [
                "f4d2d33726516220"
            ]
        ]
    },
    {
        "id": "f4d2d33726516220",
        "type": "function",
        "z": "516351e4ada589ba",
        "name": "Format Payload for notification node",
        "func": "msg.payload = '<!DOCTYPE html><html><head><title>Redirect url to node-red forum</title></head><body>'+\"U wordt doorgestuurd\"+'<script>var url= \"'+msg.url+'\"; window.location = url; </script></body></html>';\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1370,
        "y": 180,
        "wires": [
            [
                "dd715df23483c35a"
            ]
        ]
    },
    {
        "id": "dd715df23483c35a",
        "type": "ui_toast",
        "z": "516351e4ada589ba",
        "position": "top right",
        "displayTime": "0",
        "highlight": "",
        "sendall": false,
        "outputs": 0,
        "ok": "OK",
        "cancel": "",
        "raw": true,
        "topic": "Redirect",
        "name": "",
        "x": 1650,
        "y": 180,
        "wires": []
    }
]
1 Like

thank you jaab it works by replacing the notification node with the http output node.
super