matter-labs / zksync-sso-clave-contracts

ZKsync SSO Contracts based on Clave
GNU General Public License v3.0
7 stars 1 forks source link

fix: add cross-origin check #200

Closed cpb8010 closed 1 week ago

cpb8010 commented 1 week ago

Description

We don't want to allow cross-origin requests, as right now we only expect requests from one domain. This field is optional so we just validate if it's the wrong value.

Additional context

Cleaning up todos as part of audit