Skip to content

Force redirection after authentication cancel

Maxime Besson requested to merge authcancel-force-redirection into v2.0

Currently, when users cancel authentication, they end up with ?cancel=1 in the URL bar

This is a little confusing, but also it can cause issues (choice being lost) when logging in again immediately after

My proposal is to change the way "cancel=1" is handled

Before: simply run authCancel steps before handling the rest of the process (extractFormInfo, etc) After: run authCancel steps only, then redirect to portal

However, I'm wondering if this could cause regressions? I don't see in what case we would want to run normal portal subs when the user asks to cancel authentication

Merge request reports