YukiGasai / obsidian-google-tasks

Add Google Tasks inside Obsidian
GNU General Public License v3.0
134 stars 9 forks source link

Successful login, but plugin isn't showing #4

Closed noamsiegel closed 2 years ago

noamsiegel commented 2 years ago

Amazing idea, but I can't seem to get it to work.

The checklist icon is on the left sidebar, but no action is triggered when clicked. I completed the step-by-step process on the documentation, but for reference, I am not experienced with API frameworks.

Let me know if there are any details you want!

YukiGasai commented 2 years ago

Thank you ^^

No action seems a little odd.

Reinstall

  1. Press Logout in the settings page
  2. Reinstall the plugin without adding credentials

When pressing the icon, you should get this notification grafik

If not, please check your dev console.

If there are no errors so far, try logging in.

Login

  1. Enter your credentials again
  2. Login to your Google account

Are you logged into a Google account, did the browser open with the auth screen? Did the browser redirect you to a page saying Authentication successful! Please return to obsidian. When you are pressing the Icon are there any error in the dev console?

If there are errors, please send them and we can figure out what's going on.

noamsiegel commented 2 years ago

Good catch with the dev console, there are errors:

[image: image.png]

It seems that the API token I entered isn't right, but I can't seem to find it on the google developer dashboard.

To answer your questions:

  1. Are you logged into a Google account, and did the browser open with the auth screen? YES
  2. Did the browser redirect you to a page saying "Authentication successful! Please return to obsidian." YES
  3. When you are pressing the Icon are there any errors in the dev console? YES, all are embedded above

My Client ID and secret are definitely correct though. Token, not so sure.

I am more than willing to do a quick video on how I eventually set it up so that you can forward it to others with similar issues.

Thanks for the help, Noam

On Wed, Apr 27, 2022 at 4:26 AM YukiGasai @.***> wrote:

Thank you ^^

No action seems a little odd. Reinstall

  1. Press Logout in the settings page
  2. Reinstall the plugin without adding credentials

When pressing the icon, you should get this notification [image: grafik] https://user-images.githubusercontent.com/38146192/165506150-21793a0c-894a-4d62-bfdc-bb43ca4001f7.png

If not, please check your dev console.

If there are no errors so far, try logging in. Login

  1. Enter your credentials again
  2. Login to your Google account

Are you logged into a Google account, did the browser open with the auth screen? Did the browser redirect you to a page saying Authentication successful! Please return to obsidian. When you are pressing the Icon are there any error in the dev console?

If there are errors, please send them and we can figure out what's going on.

— Reply to this email directly, view it on GitHub https://github.com/YukiGasai/obsidian-google-tasks/issues/4#issuecomment-1110886957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMS3Z3K5OTBQF5DKI42LVPTVHEP4ZANCNFSM5UHQVEBA . You are receiving this because you authored the thread.Message ID: @.***>

YukiGasai commented 2 years ago

The image upload didn't work, but it could be the API token have a look at this issue #5

The Token has to fit this regex AIza[0-9A-Za-z-_]{35}

You can find it inside the API console grafik

noamsiegel commented 2 years ago

It worked, thanks for the help!

Amazing plugin

On Wed, Apr 27, 2022 at 12:36 PM YukiGasai @.***> wrote:

The image upload didn't work, but it could be the API token have a look at this issue #5 https://github.com/YukiGasai/obsidian-google-tasks/issues/5

The Token has to fit this regex AIza[0-9A-Za-z-_]{35}

You can find it inside the API console https://console.cloud.google.com/apis/credentials [image: grafik] https://user-images.githubusercontent.com/38146192/165607678-dc12b753-12c3-4577-9be7-3932417cccbb.png

— Reply to this email directly, view it on GitHub https://github.com/YukiGasai/obsidian-google-tasks/issues/4#issuecomment-1111404937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMS3Z3IWFHIBZZG62EXIRSLVHGJNDANCNFSM5UHQVEBA . You are receiving this because you authored the thread.Message ID: @.***>

YukiGasai commented 2 years ago

Nice and thank you. If you want to make a installation guide just open another issue or create a pull request.