logseq-ticktick-plugin icon indicating copy to clipboard operation
logseq-ticktick-plugin copied to clipboard

undefined access token

Open quejas opened this issue 2 years ago • 12 comments

Hi, "Your TickTick access token: undefined"

after I click authorize

quejas avatar May 25 '23 06:05 quejas

Hi, could you try to clear the access token, save the settings without the token and then enter it again?

mxschll avatar May 28 '23 22:05 mxschll

Same issue. After I enter the secret etc and press Authorize, then I am prompted to allow allow access to my TickTick and I click allow, the next page shows the token is undefined with a little spinning wheel.

Screenshot 2023-06-19 at 9 20 47 AM

novakwh avatar Jun 19 '23 13:06 novakwh

I have the same problem as the authors of the comments above

image

ilya-yarets avatar Jun 22 '23 18:06 ilya-yarets

Should now work as expected. Make sure Javascript is enabled in your browser. Also, only the English version of TickTick is supported at the moment.

mxschll avatar Sep 26 '23 15:09 mxschll

I see that it should be working but I am still seeing this same thing. Made sure Javascript is enabled and tried in both Safari and Chrome. The wheel just spins in front of the "undefined"

nickw8 avatar Oct 19 '23 18:10 nickw8

The issue seems to be with Supabase. Auth request returns: Project paused. Please visit the Supabase Dashboard to restore it.

filipnovoselec avatar Dec 28 '23 11:12 filipnovoselec

@filipnovoselec should be resolved. Generally, Supabase is not the best option in this case because it's a bit hacky... Could you try again?

mxschll avatar Dec 28 '23 11:12 mxschll

I'm able to get access token now, but it says it's invalid when trying to use it from Logseq

filipnovoselec avatar Dec 28 '23 11:12 filipnovoselec

Managed to get it working after reinstalling the plugin

filipnovoselec avatar Dec 28 '23 19:12 filipnovoselec

Is everything working with your server? I have the same issue as OP - I tried in Firefox, FF private window and Chrome and they all have the same issue.

tenfourty avatar Mar 21 '24 11:03 tenfourty

I'm having the same issue with Firefox, no adblock, Javascript enabled

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://ywcmjymjeeppwgdfqncs.functions.supabase.co/ticktick-auth. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 540.

edhilgendorf avatar Aug 26 '24 17:08 edhilgendorf

Sorry for the wait, it should be fixed now. I tested it on macOS in Safari, Chrome and Firefox. I did not test it on other systems, but Chrome should be fine.

I also added an instruction video: https://github.com/mxschll/logseq-ticktick-plugin?tab=readme-ov-file#installation

Please let me know if this works.

mxschll avatar Aug 27 '24 13:08 mxschll