Task #3139
closedAdd the option to prevent user login after password reset and redirect to a custom URL
100%
Description
The issue is related to the use of the module in the appliance.
The way it works now is that the user changes their password and is immediately logged in to IdM. (This is slightly strange on its own but let's keep it.)
But this does not work with CAS - the user is presented with an error that they cannot log in to IdM and must use external authentication (with no redirect link).
We need to prevent this login and redirect the user to CAS instead.
Updated by Roman Kučera over 2 years ago
- Status changed from New to In Progress
- Assignee set to Roman Kučera
- % Done changed from 0 to 80
Updated by Roman Kučera over 2 years ago
Implemented in https://git.bcvsolutions.eu/modules/password-reset/-/tree/kucerar/3139-better-support-with-cas
PR https://git.bcvsolutions.eu/modules/password-reset/-/merge_requests/13
- If CAS is enabled (idm.pub.core.cas.enabled=true) do redirect to /login which will redirect to CAS
- If there is some error when password is changed, redirect is not performed, so user can know which system failed.
- If CAS is not enabled, behavior is still the same (direct login into IdM)
- After sending request for pass reset, there is new back button so the user can go back to /
- After setting new password there is also button to cancel the automatic redirect an bring you back to /
deployed on app196
@doischert can you provide me a feedback pls?
Updated by Roman Kučera over 2 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Tomáš Doischer
Updated by Tomáš Doischer over 2 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Tomáš Doischer to Roman Kučera
- % Done changed from 80 to 100
Looks and works great, thank you for the changes. :)