ruby
KKinde
•Created by ruby on 2/25/2024 in #💻┃support
redirect from root "/" with middleware in next.js
dont work, probably because you cant use req.kindeAuth without wrapper the middleware with "withAuth()"
13 replies
KKinde
•Created by ruby on 2/25/2024 in #💻┃support
redirect from root "/" with middleware in next.js
Yes, its a clean fix, but i have to add to the rest of pages (/aboutUs, /contact, /pricing...), for me, make sense its always go inside the middleware and you have a variable like clerk for control the public pages and his management
13 replies