K
Kinde•5mo ago
👹

How can I make a custom login screen with sveltekit?

https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages/ I saw in this documentation link that you need to create this login function, but how do I import and structure it for my system to work?
2 Replies
Oli - Kinde
Oli - Kinde•5mo ago
Hi @👹, Let me get back to you on this. Hey @👹, Just letting know you know I havent forgotten about this. My SvelteKit expert team mate caught COVID earlier in the week but is now getting back up to speed. I will get you an answer to this soon.
Oli - Kinde
Oli - Kinde•5mo ago
Hey @👹, To create a custom login page with SvelteKit, instead of using the login function mentioned in the https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages/ doc, you would need to add the add login_hint and connection_id to the url like so:
<li>
<a href="/api/auth/[email protected]&connection_id=conn_asgasgasgasg">Sign in</a>
</li>
<li>
<a href="/api/auth/[email protected]&connection_id=conn_asgasgasgasg">Sign in</a>
</li>
Let me know if you have any questions on this.
Kinde docs
Custom sign-up and sign-in pages
Our developer tools provide everything you need to get started with Kinde.
Want results from more Discord servers?
Add your server