Skip to content

Fix authorization on methods which uses get requests#921

Merged
kanata2 merged 1 commit into
slack-go:masterfrom
kozl:master
Apr 17, 2021
Merged

Fix authorization on methods which uses get requests#921
kanata2 merged 1 commit into
slack-go:masterfrom
kozl:master

Conversation

@kozl
Copy link
Copy Markdown

@kozl kozl commented Apr 6, 2021

Hi! Not sure how long these methods don't work, according to the Slack API docs passing tokens as get parameters isn't allowed
https://api.slack.com/web#slack-web-api__authentication

When I migrated my application to the new Slack application I started getting auth errors on chat.getPermalink method. Looks like they force this rule in new apps.

@raylas
Copy link
Copy Markdown

raylas commented Apr 13, 2021

Hey! I've also confirmed that this branch fixes the authentication issues I was seeing using the new Slack App authentication flow and file uploads.

Any thing we can do to help get this merged?

@kanata2
Copy link
Copy Markdown
Member

kanata2 commented Apr 14, 2021

Sorry for delay. I'll confirm later 🙇

Copy link
Copy Markdown
Member

@kanata2 kanata2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kanata2 kanata2 merged commit 158d3e0 into slack-go:master Apr 17, 2021
@kanata2 kanata2 added bugfix [PR] bugfix spec changes Slack's specification changes labels Apr 17, 2021
@kanata2
Copy link
Copy Markdown
Member

kanata2 commented Apr 17, 2021

note: #857

@kanata2
Copy link
Copy Markdown
Member

kanata2 commented Apr 17, 2021

Released in v0.8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix [PR] bugfix spec changes Slack's specification changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants