Commit 1c72eab
committed
fix(mcp): preserve JWT issuer URL for token validation
Do not transform server.Issuer to internal FQDN. The issuer must match
the JWT iss claim, which uses the external hostname (OBOT_SERVER_HOSTNAME).
The issuer URL is only used for string comparison during JWT validation,
not for network communication.
Without this fix, MCP server pods reject valid JWT tokens with error:
'token has invalid claims: token has invalid issuer'1 parent e69d471 commit 1c72eab
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
0 commit comments