K
Kinde10mo 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?
6 Replies
onderay
onderay10mo ago
@C let me check with the team if the NodeJS SDK has been updated yet to support this. NodeJS SDK is not currently supported, so we will get that updated for you next week, would you be able to test the SDK for us?
C
C9mo ago
yes! 🙂 @Andre @ Kinde any update on this one?
onderay
onderay9mo ago
Hoping to have the PRs up this week, just been delayed with public holidays and sickness of the people who are involved.
onderay
onderay9mo ago
@C the PR is up, are able to have a look over it? https://github.com/kinde-oss/kinde-nodejs-sdk/pull/17
GitHub
Implement post login redirect like @kinde-oss/kinde-auth-nextjs b...
Explain your changes Addresses #16 NOTE: PLEASE REVIEW AND MERGE THIS PULL REQUEST BEFORE MERGING THIS ONE. Checklist I have read the “Pull requests” section in the contributing guidelines. I ag...
C
C9mo ago
Dosent that pull request only implement post login redirects, what i want to archive is to use https://kinde.com/docs/authentication-and-access/custom-authentication-pages/#step-3-add-the-connection-id-to-your-design-code in my node.js code so i need my login rutine to send authUrlParams: { connection_id: "conn_e1d49977648149a2a32fde844f1ff9e5" login_hint: "phone:+61466043123:au" }
Kinde Docs
Custom sign-up and sign-in pages - Authentication and access - Help...
Our developer tools provide everything you need to get started with Kinde.
onderay
onderay9mo ago
@C new PR is up to address that for you https://github.com/kinde-oss/kinde-nodejs-sdk/pull/22
GitHub
feature/additional-auth-params by atifcppprogrammer · Pull Request ...
Explain your changes Addresses #20. Checklist I have read the “Pull requests” section in the contributing guidelines. I agree to the terms within the code of conduct. 🛟 If you need help, consid...
Want results from more Discord servers?
Add your server