flipboxfactory / saml-sp

SAML Service Provider (SP) Plugin for Craft CMS
https://saml-sp.flipboxfactory.com/
Other
19 stars 5 forks source link

Return URL after Login? #11

Closed jeffsikes closed 6 years ago

jeffsikes commented 6 years ago

How do you configure the SSO process to send you back to the same page?

Example - I click "Login" on https://domain.com/puppies. After the SSO process completes, I want it to return to /puppies, not the root of the site.

dsmrt commented 6 years ago

Hi @jeffsikes,

Is your loginPath configured like suggested in the docs? Like so (in your general.php):

return [
  //...
  'loginPath' => '/sso/login/request',
  //...
];

I'm assuming it is, I just want to make sure.

dsmrt commented 6 years ago

I patched this with 1.0.0-beta.10. Give it a try and let me know if you have any issues with this or anything else.

jeffsikes commented 6 years ago

My login path was as suggested in the docs, and I've verified it's working as expected for me. Thanks!