-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Metadata
Metadata
Assignees
Labels
No labels