Integration
Get started
How to connect ONYX to a website. For Discord, the connector is Argos.
Three stepsINI-0377
1
Install
npm i @onyx-sec/express
The package pulls in no dependencies.
2
Connect
const onyx = require('@onyx-sec/express');
app.use(onyx({ key: process.env.ONYX_KEY }));3
Decide
app.post('/registro', async (req, res) => {
const { ok } = await onyx.verifyAval(req.body.aval, { minimo: 't30' });
if (ok) saltarCaptcha(res);
else pedirCaptcha(res);
});Standing only ever grants easier access. Someone without it is left exactly as they were: never penalised for not having one.
Where the check happensLOC-0378
The check runs on your server. You do not send us anyone's identity: you receive a signed credential, download the public key once and decide yourself.
If the keys cannot be downloaded, the answer is "I do not know", not "it is fake". A network outage should not cost anyone access.