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

$url->forceRootUrl not added to keycloak-web.redirect_url #84

Open RobIsHere opened 2 years ago

RobIsHere commented 2 years ago

The config key keycloak-web.redirect_url should accept a route key, not an url. With an url a possible $url->forceRootUrl(config('app.url')); is not taken into account, so this results also in a wrong redirection.