24Slides / laravel-saml2

[Laravel 5.4+] An integration to add SSO to your service via SAML2 protocol based on OneLogin toolkit with support of multiple Identity Providers
MIT License
227 stars 67 forks source link

Bug with saml_url ? #71

Open piep14 opened 1 year ago

piep14 commented 1 year ago

Hello,

I've tried these different formats:

$url = saml_url(config('app.url'), $identity->uuid, [config('app.url') . '/login-sso-redirect']);
$url = saml_url(config('app.url'), $identity->uuid, config('app.url') . '/login-sso-redirect');
$url = saml_url(config('app.url'), $identity->uuid, ['returnTo' => config('app.url') . '/login-sso-redirect']);

But the result is still the same, and without my return parameter.

https://xxx/saml2/2365c568-1d1d-410e-88cd-6b85b643da33/login?returnTo=xxx