KindeK
Kinde2y ago
C

custom sign in in node.js

How do i send the custom authurlparm to my node.js signin?

authUrlParams: {
connection_id: "conn_e1d49977648149a2a32fde844f1ff9e5"
login_hint: "phone:+61466043123:au"
}

/login?connection_id=" + encodeURIComponent(connection_id) +
"&login_hint=" + encodeURIComponent("phone:" + phoneE164 + ":" + country);

does not work as intended if i just add them as get parameters

this is my /login rutine:

app.get("/login", kindeClient.login(), (req, res) => {
return res.redirect("/");
});

how does kindeClient.login() use the query parameters?
Was this page helpful?