Torben
Torben
KKinde
Created by nakulbh on 9/7/2024 in #💻┃support
getUserOrganizations returning null
@Joel try out to set the ID Token Organizations (array) on, that worked for me
12 replies
KKinde
Created by Torben on 2/24/2024 in #💻┃support
getting redirected even when not wanted
Hey @Andre @ Kinde , I fixed it with the help of this guide haha. However, I must admit that it's less about the guide and more about a funny coincidence. The fix is that you should never use auth/kinde_callback for this, only for your own endpoints, for example the auth/success endpoint as shown in the guide. I initially thought it would work like a handshake, so I used the auth/kinde_callback endpoint because it makes more sence but its really a redirect. I believe it's acceptable to leave it that way if the kinde_callback is reserved, but it should be mentioned, perhaps in red, since I just overflowed the documentation and replicated the codes. I can't believe this fixed it - I spent nearly 2 hours on that, but really, guys, I love Kinde! You are amazing! It's a super bold product and perfect for startups!
6 replies
KKinde
Created by Torben on 2/24/2024 in #💻┃support
getting redirected even when not wanted
Tried everything removed it from everywhere forced it where i can but still. My assumtion is that the middleware is redirecting to the server which is redirecting on success to the kinde_callback endpoint. But then first I dont know why server should do this since its not set by me and second why is the server sending success and I only get null at my endpoint...
6 replies
KKinde
Created by Torben on 2/24/2024 in #💻┃support
getting redirected even when not wanted
This is my current env: ... KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000 KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/dashboard
6 replies