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.
Permalink
Failed to load latest commit information.
.settings
src/main/java/net/ec_cube/cmdline
.classpath
.gitignore
.project
README.md
authorization.properties
pom.xml

README.md

EC-CUBE3 OAuth2.0 Client for Java

設定方法

authorization.properties を以下のように設定してください
## Client ID
CLIENT_ID=<Client ID>
## Client secret
CLIENT_SECRET=<Client secret>
## Port in the "Callback URL".
PORT=8080
## Domain name in the "Callback URL".
DOMAIN=127.0.0.1
## Authorization Endpoint
AUTHORIZATION_ENDPOINT=https://<ec-cube-host>/admin/OAuth2/v0/authorize
## Token Endpoint
TOKEN_ENDPOINT=https://<ec-cube-host>/OAuth2/v0/token
## Resource
RESOURCE=https://<ec-cube-host>/api/v0/product
BASEURL=https://<ec-cube-host>/api/v0

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

実行方法

mvn compile exec:java