Commit e358984
committed
Don't leak internal verifier errors to RPC clients
The _DashboardAuthInterceptor was passing raw ValueError messages
(e.g. "Invalid token: Not enough segments") to ConnectError. Use a
generic "Authentication failed" message for invalid tokens (matching
AuthInterceptor behavior) and log the detail server-side.1 parent 9de31b1 commit e358984
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
0 commit comments