kinde-oss / kinde-auth-nextjs

Kinde NextJS SDK - authentication for server rendered apps
https://kinde.com/docs/developer-tools/nextjs-sdk/
MIT License
149 stars 18 forks source link

Bug: No typescript support #208

Open abdulahd2008 opened 1 week ago

abdulahd2008 commented 1 week ago

Prerequisites

Describe the issue

There is no typescript inference and intellisense, upon furthering investigating, I have seen the types are probably not "connected" to the library please fix it soon as possible, as I cannot correctly use the library as there is no intellisense

Library URL

https://github.com/kinde-oss/kinde-auth-nextjs

Library version

^2.3.8

Operating system(s)

Other Linux

Operating system version(s)

Fedora 39

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

abdulahd2008 commented 1 week ago

Especially in the withAuth middleware function

peterphanouvong commented 5 days ago

thanks @abdulahd2008 - we'll add some TS support to the middleware

abdulahd2008 commented 5 days ago

Also the login and register function is available only in react sdk, for custom page

peterphanouvong commented 18 hours ago

Hey @abdulahd2008 would you be able to expand on that comment about login + register? Just want to know exactly what you mean so we can help out :)