No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

EC-CUBE3 OAuth2.0 Client for Python


$ virtualenv venv && source venv/bin/activate
(venv)$ pip install requests-oauthlib flask
(venv)$ python
### 以下の変数を設定してください
client_id = "<client id>"
client_secret = "<client secret>"
authorization_base_url = 'https://<eccube-host>/admin/OAuth2/v0/authorize'
token_url = 'https://<eccube-host>/OAuth2/v0/token'
api_url = 'https://<eccube-host>/v0/productsauthsample/1'

redirect_urihttp:// を指定してください

See Also