Skip to content

fix(login): replace Arkose Labs with direct authentication#125

Open
KikoTs wants to merge 1 commit intoStayRealHQ:mainfrom
KikoTs:fix/replace-arkose-with-recaptcha
Open

fix(login): replace Arkose Labs with direct authentication#125
KikoTs wants to merge 1 commit intoStayRealHQ:mainfrom
KikoTs:fix/replace-arkose-with-recaptcha

Conversation

@KikoTs
Copy link
Copy Markdown

@KikoTs KikoTs commented Apr 2, 2026

Summary

  • BeReal has deprecated their Arkose Labs integration — the fc/gt2/public_key endpoint now returns DENIED ACCESS for all requests
  • The login flow no longer requires an Arkose/reCAPTCHA token; sending an empty tokens array to vonage/request-code works
  • Removes ~350 lines of Arkose challenge code (iframe, fingerprint spoofing, XHR interception)
  • Updates BeReal iOS version constants to 4.65.0 / platform 26.2

What changed

File Change
src/components/arkose.tsx Deleted — Arkose challenge iframe component
src/api/requests/auth/vonage/data-exchange.ts Deleted — Arkose data exchange endpoint
src-tauri/src/lib.rs Removed ARKOSE_FINGERPRINT_SCRIPT (iPhone spoofing for Arkose WebView)
src/views/login.tsx Simplified login flow — no more Arkose challenge states
src/api/constants.ts Removed BEREAL_ARKOSE_PUBLIC_KEY, updated version constants
src/api/requests/auth/vonage/request.ts Removed ARKOSE token identifier

Test plan

  • Enter phone number → SMS arrives immediately (no Arkose challenge)
  • Enter OTP → authenticates and redirects to feed
  • Demo phone number flow still works
  • Android build
  • iOS build

BeReal has deprecated their Arkose Labs integration and no longer
requires an Arkose token for phone verification. The login flow
now sends an empty tokens array to vonage/request-code, matching
the current BeReal API behavior.

- Remove Arkose challenge component and iframe machinery
- Remove Arkose fingerprint spoofing script from Tauri
- Remove vonage/data-exchange endpoint (no longer used)
- Remove ARKOSE token identifier and public key constant
- Simplify login state machine (no more challenge states)
- Update BeReal iOS version to 4.65.0 and platform to 26.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant