services/login_with_shop 500 SERVER ERROR

As of Sep 03, 2024 our Google Search Console has been recording a large number of indexed pages though blocked by robots.txt.

Diving into the urls they all follow the same structure:

  • https://[domain]/services/login_with_shop/authroize?target_origin=[URL]&api_key=[Key]&flow=discount&flow_version=EMAIL_CAPTURE&locale=en&anlytics_trace_id=[ID]&phone_capture=false&save_discount_at=authorize-success