bigcommerce/bigcommerce-api-python

Helper method for creating an authorize URL

Closed this issue · 4 comments

Would be nice to have a method that generates the authorize URL

Also, the developer site doesn't document what the authorize URL is. I had to guess what it is:

https://login.bigcommerce.com/oauth2/authorize

I believe you're looking for this method. I'm going to close this but feel free to open tickets if this doesn't quite do what you need.

That method (request to the token endpoint) is the last step in the OAuth 2.0 Authorization Code grant. I'm asking about the first step: generating a URL to send the user's browser to so they can approve access.

Yeah you're right. Sorry for dropping the ball on that one. I'll find what you need or add it. I'm guessing it's somewhere in the sample flask app.

Recommend using the code from the sample app for this.