CuBoulder / tiamat-theme

University of Colorado Boulder Drupal 9+ base theme
GNU General Public License v2.0
3 stars 0 forks source link

Forms that requiring login to submit should display a link to login that will redirect them back to the form when login is successful #1233

Open kevincrafts opened 1 month ago

kevincrafts commented 1 month ago

On D7 Express, if a form required authentication, a message would displaying prompting a user to login. After logging in successfully, the user would be automatically taken back to the form where they could now fill it out.

D10 forms are not displaying any message communicating that the form requires a login, and trying to add a link with the old url pattern (https://www.colorado.edu/aerospace/user/login?destination=node/4069) isn't working either.

Example https://www.colorado.edu/aerospace/academics/graduates/curriculum/certificate-programs/certificate-enrollment-request-form

The "To complete this form, you must first login with your Identikey and password." was added by the site editors.

jcsparks commented 1 week ago

Not sure how we can fix this one, the SAML module doesn't keep the referrer URL when returning from authentication.