Apollon77 / alexa-cookie

Library to generate a cookie including a csrf for alexa remote
MIT License
36 stars 13 forks source link

New landing page that does not redirect to login page #118

Closed bbindreiter closed 1 year ago

bbindreiter commented 1 year ago

Describe the bug
The baseAmazonPage does not respond (or redirects) to the alexa login page anymore, Amazon added a new landing page before it. This new landing page, depending on the country, shows a QR code (https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/116 first post) or looks slightly different.

For me this new landing page provides a link that opens in a new browser tag due to (target=_blank), thus when clicked the proxy doesn't pick it up. I tried to set the base amazon page to include the path spa/index.html but the proxy then always received a http 404 cloudfront error. When opening it in the browser it worked. It was only a quick and dirty hack so I might have missed something.

If you point me to what needs to be changed I could open up a PR. Thanks!

To Reproduce
Just try to fetch a cookie with amazon.com set as base page.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

Apollon77 commented 1 year ago

I verified, the library itself will never show the alexa page you mention.