After installing the 3.0.0 version of this module I am seeing a Drupal message on every page. This message is whatever happens to be the first message set in the user's session, for instance when I log in via drush uli I see "You have just used your one-time login link. It is no longer necessary to use this link to log in. Please change your password." on every page. I am not able to clear this message, nor am I able to add any additional messages.

Comments

orbmantell created an issue.

damondt’s picture

I have the same issue, the message displayed is "You have just used your one-time login link. It is no longer necessary to use this link to log in". In my case this is before the saml endpoint is configured, but the module is installed and enabled, and logged in with a drupal user. The message is just the one shown during login since messages are not removed nor new ones shown. This is happening on multiple themes, but only with status messages, not warning messages.

I suspect this may be related to session handling as Drupal's messenger service use symphony's sessions to store messages using "Flashbags"

kporras07’s picture

I'm getting the exact same error. Has anyone found a solution for this?

damondt’s picture

@kporras07 I haven't seen this problem after fully setting up simplesamlphp. I suspect changing "store.type" in config/config.php to something other than "phpsession" might work since the module says it doesn't support that store type.

kporras07’s picture

Hi @damondt

Actually it's set to sql ($config['store.type'] = 'sql';) so I'm still unsure about how to fix it.

Thanks,