-
-
Notifications
You must be signed in to change notification settings - Fork 73
Authentication does not work with new AppsΒ #114
Copy link
Copy link
Open
Description
The way PSSlack send the token to slack is no longer supported on newly created apps:
https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps=0
I have confirmed this with slack support.
The Invoke-RestMethod call should either be changed to use arguments -Method POST (confirmed to work) or the token should be included in an authorization header: Header = @{ Authorization = "Bearer $Token" } (also confirmed to word).
Both ways should be backwards compatible according to documentation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels