Auto create personal company #114
-
Is it possible to automatically create the personal company after the sign-up process? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, you will need to override the Register page as well as the underlying flow of the default Filament registration page When registering through Socialite with this package, a personal company is automatically created as well. For guidance, you can refer to the registration process in the OAuthController, which provides an example of what to implement on your registration page. The CreateUserFromProvider action is used in this file, so you might also find the CreateNewUser action useful for your needs. |
Beta Was this translation helpful? Give feedback.
Yes, you will need to override the Register page as well as the underlying flow of the default Filament registration page
Filament\Pages\Auth\Register
. Of course, you can create a custom registration page, but you will still need to override some things in the Filament registration page.When registering through Socialite with this package, a personal company is automatically created as well. For guidance, you can refer to the registration process in the OAuthController, which provides an example of what to implement on your registration page. The CreateUserFromProvider action is used in this file, so you might also find the CreateNewUser action useful for your needs.