Skip to content

Commit

Permalink
set session idv provider endpoint: remove onfido from supported provi…
Browse files Browse the repository at this point in the history
…ders
  • Loading branch information
calebtuttle committed Mar 31, 2024
1 parent 36a1dd9 commit 1f2c041
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/admin/set-session-idv-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ async function setSessionIdvProvider(req, res) {
return res.status(400).json({ error: "No IDV provider specified." });
}

const supportedIdvProviders = ["onfido", "veriff"];
// We disabled Onfido on March 30, 2024. We plan to re-integrate it in the future.
// const supportedIdvProviders = ["onfido", "veriff"];
const supportedIdvProviders = ["veriff"];
if (supportedIdvProviders.indexOf(newIdvProvider) === -1) {
return res.status(400).json({
error: `Invalid IDV provider. Must be one of ${supportedIdvProviders}`,
Expand Down

0 comments on commit 1f2c041

Please sign in to comment.