Closed (fixed)
Project:
SAML Authentication
Version:
8.x-3.13
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
19 May 2026 at 17:14 UTC
Updated:
3 Jun 2026 at 13:10 UTC
Jump to comment: Most recent
Comments
Comment #2
roderikNote that the Drupal Core part of the login process is doing the timestamp-setting; not the samlauth module. I don't know what's the issue, but - two things to consider:
1)
My first thought is: are you really logging into Drupal? If you're hitting the IdP -> samlauth ACS endpoint but then it turns out you're already logged into Drupal... you're not actually being logged in, and the timestamp is not updated. I see that as "same behavior as Drupal Core": if you're already logged in and then browse to /user/login, the timestamp is also not updated.
I get that "2 months 3 weeks ago" is a long time, so that's probably not it. But it's the most obvious explanation, to mention first. (If it is: let's convert this to a 'Support Request' and keep it open, it's has a good issue title.)
If you do have a reason to have the timestamp updated every time a user enters through the ACS (as opposed to actually logging in to Drupal)... that would be an extra configurable option (or local patch).
2)
Debug.
The code path from /samlauth/acs is:
So I actually don't know how you could log in but not have the timestamp updated.
Comment #3
dak5859 commented@roderik Thanks for taking the time to provide some feedback so quickly. I think I just found the issue on our end. It was related to some of our nginx config used for changing the login path on our previous use of simplesamlphp_auth from /saml_login to /login. When updating that config to use the SAML Auth path (/saml/login) and logging into our dev environment at /login - I'm now seeing an accurate Last Access time stamp. I will edit this issue to mark it as a "Support Request" vs bug and close.
Comment #4
dak5859 commented