flipboxfactory / saml-sp

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

Unexpected behavior with redirect when going directly to `/admin/login` #46

Closed dsmrt closed 4 years ago

dsmrt commented 4 years ago

When you go directly to /admin/login and click the Via <IdP label> button there is no redirect associated to that user with craft.app.user.returnUrl() so the plugin will simply redirect to the homepage. It seems like since the user is accessing the admin login, it should default to /admin (or the admin craft trigger). This would be isolated to that admin login page (the via buttons specifically).

dsmrt commented 4 years ago

Fixed in 2.0.15