SSOfy Laravel package creates a database table to link the social provider's credentials to the actual user record in your database in order to support social authentication features.

📌 Info

This is only required if you enabled Social Authentication. If not, you might wish to remove any extra migration files that the package created.

Additionally, if the columns for username, email, phone, etc. do not already exist in your database's users table, they will be added by another migration file.

All data gathered during the registration process will be stored in the metadata column. You might want to adjust the User model and add an array cast for metadata.

protected $casts = [
    'metadata' => 'array',
php artisan vendor:publish --tag=ssofy:migrations

You should be able to migrate your Laravel application as usual:

php artisan migrate
ssofy Knowledge Base
At our core, we believe that staying up-to-date with the latest trends and advancements in Authentication and related areas is essential. That's why we take great pride in keeping you informed with the latest insights, updates, and news in this rapidly evolving landscape.

Do you need support?
SSOfy is by Cubelet Ltd.
Copyright © 2024 Cubelet Ltd. All rights reserved.