Commit 8894960
committed
gateway: stamp last_seen for API-key clients on every request
update_client_last_seen() was only called from the /oauth/token grant
handlers, which API-key clients (static mcpk_ bearer, no OAuth dance —
e.g. the global Cursor bridge) never hit. Their Connections-page status
dot stayed permanently gray ('never seen') no matter how active the
connection was. Stamp it from the identity oauth_middleware already
resolves on every request instead.
Signed-off-by: crimsonsunset <jsangio1@gmail.com>1 parent a55081e commit 8894960
1 file changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
141 | 163 | | |
142 | 164 | | |
143 | 165 | | |
| |||
0 commit comments