Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't sign out of Amazon #289

Open
1 task
Soulstorm646 opened this issue Jun 5, 2024 · 4 comments
Open
1 task

[BUG] Can't sign out of Amazon #289

Soulstorm646 opened this issue Jun 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Soulstorm646
Copy link

Soulstorm646 commented Jun 5, 2024

Describe the bug

After logging in to my Amazon account and syncing my highlights, I would like to sign out as suggested in the Security section of Git Hub. I click the Sign Out button in the settings but it does not work.

Method of syncing

  • Amazon Kindle Reader

To Reproduce

Steps to reproduce the behaviour:

  1. Log into Amazon Account (amazon.fr)
  2. Sync highlights
  3. Click Sign Out in plugin settings

Screenshots

Notifications:
image
Developer Console
image

Metadata

  • OS: Windows
  • Plugin version 1.9.2
  • Obsidian version 1.5.12

Thank you in advance for your help !

@Soulstorm646 Soulstorm646 added the bug Something isn't working label Jun 5, 2024
@frankmarazita
Copy link

frankmarazita commented Jul 6, 2024

Having the same issue, looks like the method for sign out that this plugin uses needs to be updated as the kindle site may have changed.

From what I can tell, it points to https://read.amazon.com and tries to find the link for the sign out button on the page with the id #settings-link-logout. It can't find it in the dom object it gets back so it throws this error.

const signout = await scrapeLogoutUrl();

throw new Error('Could not parse logout link');

Looks like the last time this plugin was updated was over a year ago, not sure if we will see a fix from the developer any time soon.

Honestly, I haven't even been able to get any of the Amazon Cloud sync functionality working, only able to use it via manual file upload for now.

I hope this and other issues get fixed since it's a great plugin.

@jacobproffer
Copy link

Has anyone found a workaround, other than deleting the plugin from Obsidian?

@realizetm
Copy link

seems it won't then allow you the opportunity to sign in when the plugin has been removed, obsidian closed, and then re-added.

@hadynz
Copy link
Owner

hadynz commented Jul 18, 2024

Hey everyone. I've just been made aware of this thread today.

It sounds like as you said the method for parsing logout has changed.

Suggested workaround: Open Obsidian dev tools, and clear the app's cookies and sessions. Obsidian is essentially running in a Google Chrome browser. So any instructions online for the latter would work for you.

I am going on extended leave from my job in September so will aim to be active on this plugin's development again then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants