I am having some issues too. I was trying to learn how to develop with Hilla.
I am making a Student Portal, and I have a Postgres Database and I was following the Docs, until I noticed that issue.
I set up my User Entity, and I also have a UserDetail Class which implements UserDetails from springboot security.
I also set up my CustomUserDetailService which implements UserDetailsService and allows me to use my repository to find users by Username and added the annotation @BrowserCallable.
In the security config I am using this as my DetailService as suggested above.
I am confused how to pass my service into Auth.ts file, as shown in the example (UserInfo and UserInfoService).
With my Service I get an error when Auth tries to access my Method to pass Authenticated user information from the Service.
The Documentation didn’t help me too much.
Sorry if it sounds silly, but it’s been couple of days that I can’t figure it out and looked at several docs around.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.