cglatot / pasta

Audio & Subtitle Track Changer for Plex
https://www.pastatool.com
270 stars 7 forks source link

Remembered settings are different between http and https #20

Closed cglatot closed 2 years ago

cglatot commented 4 years ago

Describe the bug localstorage counts the http and https sites as different locations, and thus login credentials are not shared across them.

Expected behavior Remembered settings should be the same across http and https sites

ukdtom commented 3 years ago

Browse to PMS:32400/identity, and use the machineIdentifier as the ID to store it in

ukdtom commented 3 years ago

Or grap it from https://plex.tv/api/v2/resources and use clientIdentifier

garretaserra commented 2 years ago

Separating http and https versions of this or any website is a core principle to security. The localstorage is not shared because it would be unsecure to do so.

cglatot commented 2 years ago

Yeah, I know it's intent, but my thinking was for convenience it would be useful to do something. But any method that would achieve this would either be hacky, or require a backend, which opens up its own set of security implications. Just going to close this one.