Login and registration API

Hi, I want to use API to connect the login and register pages to the filament dashboard , it's my first time working with APIs and filament so I don't know how to do it also if there is any plugin or something to help me with that process
5 Replies
kool
kool3mo ago
Can I know what use case you are trying to achieve?
Imane Ouahmane
Imane Ouahmane3mo ago
yeah sure , if the user is logged in i want redirect him to the dashboard
No description
No description
kool
kool3mo ago
So you are using a custom login/register page? If so, you can use the native one already and apply style customization if needed
Imane Ouahmane
Imane Ouahmane3mo ago
Hi, can I use rupadana's api-service plugin ?
ConnorHowell
ConnorHowell3mo ago
https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features - Read this section on how you would go about customising the auth features. The example in the docs is on the EditProfile page but you can apply this to both Login & Register pages. Take a look at the base classes to understand what is happening with the standard pages