robsontenorio / laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel
MIT License
434 stars 141 forks source link

With laravel-keycloak-web-guard #54

Closed sachinuthale closed 3 years ago

sachinuthale commented 3 years ago

Hello, Currently I am using package laravel-keycloak-web-gaurd with front-end, and it's working fine.

Now can I use this api gaurd along with web gaurd.

My auth.php: 'web' => [ 'driver' => 'keycloak-web', 'provider' => 'users', ], 'api' => [ 'driver' => 'keycloak', 'provider' => 'users', 'hash' => false, ],

And using customised user provider: 'driver' => 'keycloak-users', 'model' => App\Models\User::class,

When I tried it with sending token: getting resource_access exception.

How should I configure this ??

sachinuthale commented 3 years ago

Resolved.