Can't login into panel when user model use uuid

Hello i'm using uuid's on mi user model, I have configured all what is necessary to use it but I can't login, the credentials are correct, but it redirect to me to the login screen again, thanks for your help.
5 Replies
Zacktamondo
Zacktamondo3w ago
I encountered the same issue, all you have to do after updating the user model and migration is to also update the sessions table user_id column to be foreignUuid instead of foreignId. Hope that helps.
Jamie Cee
Jamie Cee3d ago
Is this in the documentation anyway? Might be worth adding if not, as I've struggled to find this solution until I searched the discord for "user uuid"
g0to
g0to21h ago
what was the solution?
Dennis Koch
Dennis Koch19h ago
It’s not really Filament related and I think it’s too advanced to be in the Laravel docs but you can try.
Jamie Cee
Jamie Cee19h ago
I get that, but I also wouldn't say it's uncommon that people change ID to be a uuid
Want results from more Discord servers?
Add your server
More Posts
Authorize Imports: Apply different policy methods on create and updateI am using `authorize` method for Importer to show it only to the users that have `create` authorizaReplicate action: load form instead of saveI was searching for a way to add ***Clone*** table action, and came across ***Replicate*** action. TFilament Shield allows create/edit/delete despite role restrictions. Shouldn't have these permissionThe Filament plugin shield still allows users to create, edit, and delete even though I have not givCheck for user profile completeHi! My user model has some extra fields that I would like to be completed. My UserPanel is like this->RenderHook() problem in AdminPanelProvider.php | Class "Filament\View\PanelsRenderHook" not foundHello. I had this same configuration in my last application two months ago and had no problems. ForHas anyone implement QR Code Scanner in a field for filament?So a simple QR that will fill in a certain field on successful scanfileUpload download file directly to download folderPleas, probably i'm doing something wrong, i use file upload component with s3, everything works finForm in resource index pageI'm creating a resource to edit an invoice template, so I only need one data entry, and I don't wantRepeater Button Position - On Top? On top and bottom?Is it possible to have Repeater action buttons at the top AND bottom? If not, can I position the buCheckboxList: modifyOptionsQueryUsing does not existThe docs say there should be this method to modify the options but this method does not exist: https