OAuth redirect after slack bot install does not pass temporary auth code
See original GitHub issueVersion
4.12.2
Describe the bug
Installing a Slack Bot does not pass the temporary auth code to the landing page.
I’m working on a Slack Bot using Azure Bot Service and the .NET Bot Framework. In Slack I have the redirect URL set to https://slack.botframework.com per the docs.
In Azure Bot Service, I have a Landing Page URL set up to my site. When I install my bot into Slack, Slack redirects to https://slack.botframework.com which redirects to my landing page url and passes two parameters in the query string, teamid
and signature
. So far so good.
The problem is that in the first redirect, Slack is passing a code
parameter. This is a temporary authorization code per the Slack docs. I expected https://slack.botframework.com to pass this code along to the landing page URL. Instead it passes a teamid
and a signature
. I understand what the teamid
is, but cannot find any documentation of signature
and what it’s used for.
To Reproduce
Steps to reproduce the behavior:
- Install a Slack Bot built with Azure Bot Service into Slack
Expected behavior
The final redirect to the landing page URL would contain the Slack temporary auth code.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
@haacked, thank you for your patience. I’ve been able to set up the environment and am working on repro’ing the issue. I hope to have an update for you by EOD, possibly tomorrow.
@stevkan thanks for the response!