C
KKinde
•Created by C on 3/10/2024 in #💻┃support
Error: Authentication failed because it tries to validate state
Suddenly this fail on login,
Error: TypeError: fetch failed
at _callee2$ (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:407:56)
at tryCatch (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:1357)
at Generator.<anonymous> (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:4174)
at Generator.throw (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:2208)
at asyncGeneratorStep (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:19:103)
at _throw (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:20:291)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Authentication failed because it tries to validate state
at _callee2$ (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:330:56)
at tryCatch (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:1357)
at Generator.<anonymous> (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:4174)
at Generator.next (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:18:2208)
at asyncGeneratorStep (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:19:103)
at _next (/home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:20:194)
at /home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:20:364
at new Promise (<anonymous>)
at /home/node/app/node_modules/@kinde-oss/kinde-nodejs-sdk/dist/KindeClient.js:20:97
Been receiving internal cert errors all morning as well, when login process as kinde is running!
11 replies
KKinde
•Created by C on 2/26/2024 in #💻┃support
{ errors: [ { code: 'NAME_REQUIRED', message: 'Name is required' } ] }
Suddenly getting this error using the create org api
I am sending a name in my body
{"name":"IF","is_allow_registrations":true}
const createOrgRes = await fetch(orgUrl, {
method: 'POST',
headers: kindeheaders,
body: JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true })
});
console.log(JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true }));
const createOrgData = await createOrgRes.json();
console.log(createOrgData);
it worked few days ago, is anything changed?
17 replies
KKinde
•Created by C on 2/1/2024 in #💻┃support
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?
9 replies
KKinde
•Created by C on 12/2/2023 in #💻┃support
Password and Passwordless enabled on same time?
How can i chose a user thats uses password when passwordless is also enabled?
26 replies
KKinde
•Created by C on 11/16/2023 in #💻┃support
Feature flags
Is there really no ways to delete or rename Feature flags ??
3 replies
KKinde
•Created by C on 10/26/2023 in #💻┃support
SMS as passwordless auth
Is it posible like with Auth0 to use SMS as passwordless entry, i only find e-mail as an option. Youngsters dont use email 🙂
4 replies