notallcowboyswearboots
KKinde
•Created by notallcowboyswearboots on 3/21/2025 in #💻┃support
Error Code: 1656
This has been resolved, it has gone away.
7 replies
KKinde
•Created by notallcowboyswearboots on 3/21/2025 in #💻┃support
Error Code: 1656
1. I am using Authorization Code Flow (not Implicit Flow), and the nonce is handled automatically by the SDK with my setup.
2. No I have not because I thought it was handled automatically through the SDK
3. I am not sure.
7 replies
KKinde
•Created by notallcowboyswearboots on 3/21/2025 in #💻┃support
Error Code: 1656
1. In my env it is "KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/sign-up" and in Kinde i have this list for allowed callback URLs:
http://192.168.56.1:3000/api/auth/kinde_callback
http://localhost:3000/api/auth/kinde_callback
https://192.168.56.1:3000/sign-up
https://localhost:3000/sign-up
http://192.168.56.1:3000/sign-up
http://localhost:3000/sign-up
2. I am using http://localhost
3. I am not sure what nonce is (so I would assume I have not included this.. I cannot find this in the docs) and I'm not sure if im using implicit flow or not. I just did the quick start guide when I made my account, which is below.
- I made my .env.local file in root folder
- Made the respective path (src/app/api/auth/[kindeAuth]/route.js) and then put the following code below into it
import {handleAuth} from "@kinde-oss/kinde-auth-nextjs/server";
export const GET = handleAuth();
- In my page I added the respective <LoginLink> and <RegisterLink> componets
7 replies