ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.53k stars 571 forks source link

[blocker] Enable human verification endpoins for app.protonmail.ch and Tor API endpoints #248

Closed vladimiry closed 2 years ago

vladimiry commented 3 years ago

Moved here from https://github.com/ProtonMail/proton-mail/issues/78.

The endpoint/iframe address gets resolved by https://github.com/ProtonMail/react-components/blob/d974f1f4026571e6d4be074f689c5f997f2b700a/containers/api/humanVerification/Captcha.tsx#L5 code.

So for https://mail.protonmail.com/ API_URL the resolved value is https://mail-api.protonmail.com/core/v4/captcha which exists.

But the https://app-api.protonmail.ch/core/v4/captcha and https://protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd-api.onion/ endpoints don't exist.

vladimiry commented 2 years ago

It was made clear in #276 which API addresses for which purposes should be used, so closing.