Skip to content
Snippets Groups Projects

Implement ArkoseLabs sign-in challenge

Merged Paul Gascou-Vaillancourt requested to merge arkose-labs-challenge into master
All threads resolved!
4 files
+ 92
45
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 14
0
import axios from '../lib/utils/axios_utils';
import { buildApiUrl } from './api_utils';
const ENDPOINT = '/api/:version/arkose_challenge';
export function needsArkoseChallenge(username) {
const url = buildApiUrl(ENDPOINT);
// We force this to return true for now.
return true;
return axios.post(url, {
username,
});
}
Loading