K
Kinde10mo ago
Tsing

I get an error when I go to the web page to log in

The error message returned: {"error":"invalid_state","error_description":"The state is missing or does not have enough characters and is therefore considered too weak. Request parameter 'state' must be at least be 8 characters long to ensure sufficient entropy."} NextJS App Router KINDE_CLIENT_ID= ** KINDE_CLIENT_SECRET= ** KINDE_ISSUER_URL=https://zuoplay.kinde.com KINDE_SITE_URL=http://localhost:3000 KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000 KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/dashboard
Kinde
Kinde
App infrastructure as a service.
No description
No description
7 Replies
Devil Code
Devil Code10mo ago
code link ?
Tsing
TsingOP10mo ago
The route used: NextJS App Router, the following is the .env.local configuration file. Figure 1 shows the request parameters, and Figure 2 shows the error message returned.
onderay
onderay10mo ago
Kinde Docs
NextJS App Router SDK v1 - Developer tools - Help center
Our developer tools provide everything you need to get started with Kinde.
Tsing
TsingOP10mo ago
I'm using SDK v2, modified it according to the documentation, and it still returns the same error I reinstalled the sdk as well as deleted the old project. Still reporting an error ?????? I set it up exactly as documented ???? Found the reason, browser problem. google chrome version -> 122.0.6261.129
onderay
onderay10mo ago
Very interesting, have you been able to get past the error?
Tsing
TsingOP10mo ago
I cleared my browser cache and then logged out of my browser's Google account. It is then accessible normally. Other browsers (Safari) are accessed normally
onderay
onderay9mo ago
So all working fine now?
Want results from more Discord servers?
Add your server