You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a plugin to perform bidirectional sync with Google Tasks https://github.com/weynhamz/logseq-google-tasks, which works perfect for my daily use, however, the only thing is blocking it to be perfect is that I have to manually generate access token every 1 hour through a scripts.
I wasn't able to find any info on how to initiate a OAuth flow through Logseq plugins, anyone can help here? Basically, I am looking to some API to allow plugin initiate a new browser popup window for user to accept the consent, ad then Logseq should be able to respond/receive the authentication code once the popup window is closed, and then forward that authentication code the plugin that originally initiated this process. Is this something that is already avalible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I have made a plugin to perform bidirectional sync with Google Tasks https://github.com/weynhamz/logseq-google-tasks, which works perfect for my daily use, however, the only thing is blocking it to be perfect is that I have to manually generate access token every 1 hour through a scripts.
I wasn't able to find any info on how to initiate a OAuth flow through Logseq plugins, anyone can help here? Basically, I am looking to some API to allow plugin initiate a new browser popup window for user to accept the consent, ad then Logseq should be able to respond/receive the authentication code once the popup window is closed, and then forward that authentication code the plugin that originally initiated this process. Is this something that is already avalible?
Beta Was this translation helpful? Give feedback.
All reactions