Mert Efe Cerit
Mert Efe Cerit
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
I am currently looking for a way to verify that I am auth on the client side with every page change. Existing hooks work on the server side and the nuxt module does not work on the API side.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
Currently, I can only run the logout method for the remaining cookie if the auth returns false in force refresh.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
But I still wish we had more hooks for the nuxt side or the chance to use existing hooks in different places.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
@Zaki I'm sorry for replying late. While I was working on a different logic, I noticed that the cookies were left behind, which made us log in again without seeing the login page.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
@Zaki I tried it on the Safari browser, and there was no issue. After the token expiration and the forced refresh, I was redirected to the login page as expected. However, this does not happen on the Chrome browser. If there is nothing we can do on our end, what would be the ETA to resolve this issue? We are planning to launch the application today. thanks
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
If the refresh token has expired, I need to enter login information on the login page. But as soon as I go to the page, I automatically log in and it takes me to the relevant page of the application.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
When I look at the audit logs, I see the phrase "pre-authenticated". Then there is the "granted an access token to" record.
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
No description
18 replies
KKinde
Created by Mert Efe Cerit on 1/28/2025 in #💻┃support
Nuxt + Kinde Module Logic Problems
No description
18 replies
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. 🙂
21 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.
21 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
No description
21 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.
21 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. 🙂
21 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.
21 replies
KKinde
Created by Mert Efe Cerit on 12/9/2024 in #💻┃support
/api/login route cannot found on build (NUXT)
No description
21 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