Frecuently asked questions

I can use this package even if the project has already Laravel UI or Laravel Breeze authentication?

Yes, thats why the package routes use custom route names and custom notifications.

I can used Passport or Sanctum?

You can use both, but only one at the time, if its a concern in the future you can open an issue if your app use both.

Why routes middleware use the class AuthKit?

It returns the correct auth middleware based on the package that you are using Passport or Sanctum, but you can remove it and use the correct string middleware.

I am able to customize the routes?

When you install the package it adds all the code to your app so you can change the API routes names as you need just take care to update the notifications links, in the docs you will find where to customize every feature.

How can I customize the token expirations?
    // In config/auth.php

    // To change password confirmation timeout
    'password_timeout' => 10800,

    // To change email verification timeout
    'auth' => [
        'verification' => [
            'expire' => 10800

    // Here you may define the amount of seconds.
I can customize the notifications?

Yes, you can publish the notifications assets, create your own mailable and pass this mailable to the custom notifications.

Here you can get more information about it

How to get support?

If you have some doubt about something that is not clear in the docs, just tweet me, the link its in the navbar.

Find an issue

Please add an issue on github, the link its in the navbar.