(idpIssuer: string)
| 185 | * Used by `claude mcp xaa clear`. |
| 186 | */ |
| 187 | export function clearIdpClientSecret(idpIssuer: string): void { |
| 188 | const storage = getSecureStorage() |
| 189 | const existing = storage.read() |
| 190 | const key = issuerKey(idpIssuer) |
| 191 | if (!existing?.mcpXaaIdpConfig?.[key]) return |
| 192 | delete existing.mcpXaaIdpConfig[key] |
| 193 | storage.update(existing) |
| 194 | } |
| 195 | |
| 196 | // OIDC Discovery §4.1 says `{issuer}/.well-known/openid-configuration` — path |
| 197 | // APPEND, not replace. `new URL('/.well-known/...', issuer)` with a leading |
no test coverage detected