-
Notifications
You must be signed in to change notification settings - Fork 29
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
invalid_auth #25
Comments
@nicholaskillin thanks for reporting! I never documented all the required scopes since it seemed most people were using I doubt the token you have will ever work (meaning, it was issued with limited scopes), but I'd be happy to work with you to document what scopes are required and make sure the integration works with Alternatively, just get a |
Yeah, I'd be happy to work with you on this. I currently have |
Yeah give me a day or two to gather the current API calls up (just wrapped up a major life event so I'm fairly preoccupied currently). Also consider the integration allows for complete usage of the API (both rtm and web) so whatever scopes for methods you intend to use will also be required. |
Yeah. I believe that I have all of the needed scopes already. I created this app basically so that I can update my profile status. I have Home Assistant watching one of my calendars for specific events, and when those events are 2 minutes out I want it to announce that the event is 2 minutes away via my Google Home (which is already working) and then set my slack status (so that my co-workers know that I'm on a phone call. I believe that the Would it be better for me to just add them all, then see if that works? If that does work then I could go through and remove them one at a time, saving each time to see which ones break the integration with Node Red. Seems like a fair amount of work, but could get the data that we are looking for. |
You can add them all and see if it works generally yeah. If that fails then it doesn't make much sense to keep going. If it does work then awesome, but no need to go through and try them 1 by 1...the list is pretty small and I can gather them up pretty easily. Just making sure it works generally would be great though. Thanks! |
Welp, this may be harder than I thought. I added all of the scopes with the exception of the following:
After doing that I reinstalled the slack app, refreshed node red and still received the same error. If there is anything I can pull error or debug logs from I'd be happy to do so. Also, I get major life events. Hoping it's a good one and no rush on my end. |
I make the |
Here are some crude notes of what's used for basic connection:
|
Hm, when I try and the
I don't think it's going to let me do that. Any thoughts or do you think that I should just switch to a bot token? If I use a bot taken I assume it's still possible to change my slack status? |
Just answered my own question. Started playing around, added a bot token and was able to get it to connect. However, while trying to get the profile status updated I kept getting |
And I was actually able to get this setup just now and working using a function node and an http request node. Looks like I don't need the slack nodes for what I am trying to do. Thanks! |
Yeah pretty easy to do a raw http request. Be careful about exporting secrets if you ever export a flow. All this info is good to know. Regardless of your setup I'm going to leave this issue open until a get a chance to at least research a little deeper and document limitations etc. |
I'm having the same issue. Adding these user scopers results in an error on the Slack end for "Invalid permissions request". I was able to solve this by creating a "Classic Slack App" that does not have granular permissions and using the xoxb token it generates. |
This is very likely user error and I apologize for the basic question. I installed this node in node-red running with Home Assistant. I have a slack app that is currently integrated and working with Home Assistant, but can only post messages. I was hoping this node could help me set my slack status as well.
I copied the oAuth token from my app that is already working (starts with
xoxp
) but when I deploy the node I get aninvalid_auth
error. I also tried using the verification token from that same Slack app but received the same auth error. Any ideas what I'm doing wrong? Thanks!The text was updated successfully, but these errors were encountered: