Skip to content

6. Whitelisting

Nisha Sharma edited this page Mar 26, 2024 · 5 revisions

Why do you need a whitelist?

Due to security concerns (minor - cross-communication between browser tabs), the public instance of the nmrium-react-wrapper whitelists the domains that could integrate this.

How to get whitelisted?

Provide the following details via an email or raise a GitHub issue.

  • Domain:
  • Organisation:
  • Contact person (Name/Email):
  • Usage details (Optional):

Emailing us at info@nmrxiv.org or helpdesk@nfdi4chem.de

Raise an issue on GitHub - https://github.com/NFDI4Chem/nmrium-react-wrapper/issues

Chemotion Integration

STEP 1: Whitelist your domain by contacting us.

STEP 2: Update config/spectra.yml, manually point yml file to nmrium spectra.yml.example#L17

For local installation, standalone & NMRium-react-wrapper refer to https://github.com/NFDI4Chem/nmrium-react-wrapper/wiki

To whitelist a domain follow the below steps:

  • Switch to development branch.
  • Add the new domain to /src/allowed-origins.json file with the protocol (HTTP or HTTPS).
  • Commit the changes and then merge the changes to the main branch without creating the release.
  • At the end don't forget to document the domain details in the whitelisting doc.