How can i use this package with $keyType = 'string' in my user model. #61
Replies: 2 comments 1 reply
-
Can you give me an example, on how you're implementing it in your app? I didn't experience working with this type of system, but I think it's a Laravel authentication related, no? |
Beta Was this translation helpful? Give feedback.
-
Hi @ousid, yes, it is just a custom Laravel Socialite Provider (https://github.com/SocialiteProviders/Keycloak). Keycloak uses a guid as the key. Simply I add It seems to work if I change your migrations manually to ...
$table->foreignIdFor(User::class)
... Maybe this could be solved by specifying the User-Model in the config file and then using |
Beta Was this translation helpful? Give feedback.
-
I am using keycloak as a auth provider which results in my user model having a string key.
This seems not to be possible easily as i have to manually alter the migrations.
Why is this not supported out of the box ?
Beta Was this translation helpful? Give feedback.
All reactions