Python-slack-sdk: 2.6.0rc1 invalid_client_id

Created on 19 May 2020  路  3Comments  路  Source: slackapi/python-slack-sdk

Description

Passing from 2.5.0 to 2.6.0rc1 broke the oauth_v2_access method. it keeps returning an invalid_client_id error.

What type of issue is this?

  • [x ] bug
  • [ ] enhancement (feature request)
  • [ ] question
  • [ ] documentation related
  • [ ] testing related
  • [ ] discussion

Requirements

  • [ x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [x ] I've read and agree to the Code of Conduct.
  • [ x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackclient version: 2.6.0rc1

python version: 3.7.6

OS version(s): macOS 10.15.3

Steps to reproduce:

  1. Obtain a code from https://slack.com/oauth/v2/authorize?scope={APP_SCOPE}&client_id={APP_CLIENT_ID}
  2. Oauth
client.oauth_v2_access(
        client_id=config.APP_CLIENT_ID,
        client_secret=config.APP_CLIENT_SECRET,
        code=auth_code
    )

Expected result:

Access token

Actual result:

invalid_client_id

2x bug web-client

Most helpful comment

Already!

I've just tested it, 100% fixed

Thank you

All 3 comments

Thank you very much for taking the time to report this. I'll fix this.

@marshallino16 I've fixed this issue and published a new RC version to PyPI. Could you try it out when you have a chance? https://pypi.org/project/slackclient/2.6.0rc2/

Thank you again for reporting this!

Already!

I've just tested it, 100% fixed

Thank you

Was this page helpful?
0 / 5 - 0 ratings