[ID_Token Validation](http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation)
```
6. If the ID Token is received via direct communication between the Client and
the Token Endpoint (which it is in this flow), the TLS server validation MAY be
used to validate the issuer in place of checking the token signature.
```
So in lieu of checking the token signature, you could check to make sure the `iss` is the same as the `cn` of the TLS certificate. If you're a JS guru, feel free to submit a PR of the openid-implicit library that does that. We don't maintain that library anymore, because our preferred JS library is [AppAuth-JS](https://github.com/openid/AppAuth-JS)