Mert Efe Cerit
Mert Efe Cerit
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
@Ages I apologize for replying late. We are really busy these days. Our problem has been solved in Kinde. Devops informed us that it was related to server side SSL certificates. We can close the subject. Thank you. 🙂
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
Hi, @Ages I remember saying before that I was doing the things you asked me to do. That's why I couldn't find anything to answer. But today we received email from kinde and tried some solutions. We discovered that the problem was that the information belonging to Kinde in the .env file was not transferred to the application during build. We needed to make the nuxt.config.ts setting specified as an alternative in the document. We eliminated this option because it was mentioned as an alternative. Therefore, we have now fixed the "no match found" error we mentioned before and are running it on the server. However, we were stuck with the 502 bad gateway error and could not figure out how to overcome it.
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
No description
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
@TotalScrub I apologize for replying late. Things are very busy these days 🙂 everything is oke on development on local.
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
@Stephen i can't good speak english sorry 🙂 Hello Stephan, I'm actually only using the logout and login functionality. I wanted to test these out since that's how it was shown in the documentation (Nuxt Kinde). Also, in Vue.js, even if a value is not explicitly defined as a prop, it gets placed directly under the parent component. Because there’s a NuxtLink there, the "to" property will work as expected. Therefore, we need to use it on the middleware side. We need to make the necessary checks and provide the relevant redirects before the page is opened. I hope I could explain it with my bad English. Thank you for your interest. 🙂
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
@Ages @Stephen thanks for replies, i don't use any custom server configuration and i have tested
<LoginLink to="/api/login" external>login</LoginLink>
<RegisterLink to="/api/register" external>register</RegisterLink>
<LoginLink to="/api/login" external>login</LoginLink>
<RegisterLink to="/api/register" external>register</RegisterLink>
<client-only>
<LoginLink to="/api/login" external>login</LoginLink>
<RegisterLink to="/api/register" external>register</RegisterLink>
<client-only>
<client-only>
<LoginLink to="/api/login" external>login</LoginLink>
<RegisterLink to="/api/register" external>register</RegisterLink>
<client-only>
It doesn't work either way.
16 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
No description
16 replies
KKinde
Created by Mert Efe Cerit on 11/2/2024 in #💻┃support
A nuxt project from scratch giving index.mjs error (Kinde Nuxt Module)
Sorry for the late reply, it's very interesting and it started working. nuxt nitro version was not working in 2.10.0, it worked after nuxt nitro 2.10.1. I worked on it for about 1 day. Other than that, there was no change. It's working now.
4 replies