turtl-backup icon indicating copy to clipboard operation
turtl-backup copied to clipboard

Unable to authenticate

Open tkircht opened this issue 5 years ago • 4 comments

Not sure if this is still active, but I find this useful and would really like to try it. The only response I ever got was:

$ turtl-backup backup https://apiv3.turtlapp.com TURTL20200509
username: [email protected]
password:
$ cat TURTL20200509
{"error":{"message":"bad login: user"}}

Yet I can do:

$ turtl-backup get_auth_token
username: [email protected]
password:
AAUCAAE3NDFiM2Q3MjE4ZDI5NTllFihk5CRxCi11MTW869k1T8VGBLoxx4SbMtmZtGN0XFct5KH4+UezXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0i0tRbgFL8qfuwFWpAnh2BNeRU0jgLX80mMIUW8AnOVZkWI7g1eiRAixf3fWMY5EPA58wnl+FL9GT6zWwVAkoIjQ=

But:

$ turtl-backup backup --auth-token AAUCAAE3NDFiM2Q3MjE4ZDI5NTllFihk5CRxCi11MTW869kXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXAnOVZkWI7g1eiRAixf3fWMY5EPA58wnl+FL9GT6zWwVAkoIjQ= https://apiv3.turtlapp.com TURTL20200509
$ cat TURTL20200509
{"error":{"message":"bad login: user"}}


Both username and password are correct - I checked ;)

Thanks for your good work!

tkircht avatar May 09 '20 08:05 tkircht

Hi!

Sorry to hear, they may have changed something in their API. I heard it still worked a few month ago on https://framanotes.org/, but I do no longer have an account to test it, so I won't fix it.

Don't hesitate to open a PR if you're able to fix the issue.

JulienPalard avatar May 20 '20 22:05 JulienPalard

Seems it has worked on v2 but not more on v3 of turtl api :sob:

wadouk avatar Jul 07 '21 12:07 wadouk

Oh sad ☹

Same answer, I do no longer have a turtle account, so don't hesitate to try to make it work on v3 and open a PR, I with a bit of luck there's not much to change.

JulienPalard avatar Jul 07 '21 14:07 JulienPalard

Doesn't succeed to login with curl to apiv3.turtlapp.com so I will be in pain to code it with python

wadouk avatar Jul 07 '21 15:07 wadouk