-
Notifications
You must be signed in to change notification settings - Fork 2
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
Circuit node with session token #1
Comments
Hi @rhaenggi, can you clarify what node in/out you need? Is it the OAuth access token with which you can login similar to the SDK logon with an access token? https://circuitsandbox.net/sdk/classes/Client.html#method_logon |
Roger, let Circuit = require("CircuitClient.js"); let sessionToken = "insertSessionTokenHere"; let circuitClient = new Circuit.Client({ //nachrichten empfangen //einloggen //nachricht senden circuitClient.addTextItem( |
Login with a session cookie was a work around we allowed prior to OAuth 2.0 support. For node-red it seems we only support CLIENT CREDENTIALS grant. @mailsvb is that correct? @rhaenggi, you can register for an OAuth app at https://circuit.github.io/oauth to get your client_id and client_secret. Haven't been back to CH in a few years now. Hopefully soon. |
Roger, |
No sorry, that is not supported anymore. Rather than discussing this here, let's have a chat or a call on circuitsandbox.net or eu.yourcircuit.com and hopefully we can find the best authentication solution for you. |
Hi,
we want to used the Circuit node-red-contrib-circuit but realized that you don't have implemented a node in/out with session toke.
Would you mind to enhance your package with the possibility to work with session token.
This would be an important enhancement for us.
The text was updated successfully, but these errors were encountered: