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

Node-red-node-google authentication isdues #277

Open
rowleya opened this issue Mar 27, 2021 · 3 comments
Open

Node-red-node-google authentication isdues #277

rowleya opened this issue Mar 27, 2021 · 3 comments

Comments

@rowleya
Copy link

rowleya commented Mar 27, 2021

Which node are you reporting an issue on?

Node-red-node-google

What are the steps to reproduce?

  1. Add calendar node
  2. Add credentials and enter client id and secret
  3. Authenticate with google
  4. Deploy flow
  5. Wait for token refresh to fail
  6. Open calendar node
  7. Open google credentials node but change nothing at all
  8. Authenticate with google

What happens?

Authentication fails with invalid client id. If I re-enter client id and secret it works, so guessing it isn't saved.

What do you expect to happen?

  1. Ideally refresh wouldn't fail. If it were possible to make refresh happen at half the refresh time instead of using the exponential backoff, this might work better? Or else having some manual config for refresh, like node-red-alexa2.
  2. If refresh is going to fail often enough, reauth shouldn't require that I have to reenter my client id and secret.

Please tell us about your environment:

  • [ x] Node-RED version: 1.2.9
  • [ x] node.js version: 12.21.0
  • [x ] npm version: 6.14.11
  • [ x] Platform/OS: Server: Raspberry Pi 4 / Ubuntu Server 20.04, Client: Windows 10
  • [ x] Browser: Chrome
@ratatine
Copy link

I'm running into the same issue. 0.2.0 with node-red 2.0.5. Node.js 14.17.4.

@rowleya
Copy link
Author

rowleya commented Oct 19, 2021

I ended up using node-red-contrib-ical-events and then using the ical version of the calendar.

@ratatine
Copy link

I appreciate the feedback. I'm also using this to create events so I'd really like to see a solution if someone finds time to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants