Authentication flow state not found with NextJS Middleware
Hello, I had issue when combining NextJS Middleware and Kinde
I got error when successfull Signin / Register, and Kinde trying to navigate to callback
http://localhost:3000/api/auth/kinde_callback
. Error looks like this:
I found similar issue on github https://github.com/kinde-oss/kinde-auth-nextjs/issues/86 ,but seems like not solved yet.
One of the comment on the issue says need to change the matcher,
Currently my matcher looks like the attched image.
Any help would be appreciatedGitHub
Bug: Authentication flow state · Issue #86 · kinde-oss/kinde-auth-n...
Prerequisites I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate I have checked the latest version of the library to replicate my issue I have read the...
5 Replies
More attachement:
Thank you, yes, i decided to move to slack
Hello, what was the fix for this issue ? I’m having the same issue and I’m not sure how to solve it
@Oli - Kinde
@Sebastian Simionescu looking through the chat. The issue was by fixing the middleware and also adding callback url on kinde application.