mariovalney / laravel-keycloak-web-guard

Simple Keycloak Guard to Laravel Web Routes - https://packagist.org/packages/vizir/laravel-keycloak-web-guard
146 stars 80 forks source link

[wip] feat: keycloak sync command #34

Closed gpedro closed 3 years ago

gpedro commented 4 years ago

how works:

i used keycloak admin api to retrieve all users and sync on the local database.

setup:

after setup environment configs, add a new column on users table

$table->uuid('keycloak_id');

and finally run php artisan keycloak:sync

changelog:

added:
- environment config: KEYCLOAK_ADMIN_USERNAME, KEYCLOAK_ADMIN_PASSWORD
- command keycloak:sync

changes:
- cleanup unused dependencies

known issues:
- admin api returns only 100 users, need to implement GET /{realm}/users/count.
mariovalney commented 4 years ago

Hi! How are you?

We really appreciate contributions. But I would ask you to open a issue so we can discuss the feature before implementing it.

As it's a WIP, no problem: we can talk about later, if you prefer.

Thanks again.

gpedro commented 4 years ago

@mariovalney ok, issue created. #35

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mariovalney commented 3 years ago

HI @gpedro !

Is this feature finished? As this have the "WIP" tag I don't checked yet. I'm sorry I missed something.

gpedro commented 3 years ago

not yet.

francoisauclair911 commented 2 years ago

Any update on this?