An open API service indexing awesome lists of open source software.

https://github.com/nanasess/eccube3-oauth2-client-for-java


https://github.com/nanasess/eccube3-oauth2-client-for-java

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

EC-CUBE3 OAuth2.0 Client for Java
===================================

設定方法
----------

```
authorization.properties を以下のように設定してください
## Client ID
CLIENT_ID=
## 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:///admin/OAuth2/v0/authorize
## Token Endpoint
TOKEN_ENDPOINT=https:///OAuth2/v0/token
## Resource
RESOURCE=https:///api/v0/product
BASEURL=https:///api/v0
```

`redirect_uri` は **http://127.0.0.1:8080/Callback** を指定してください

実行方法
-----------

```
mvn compile exec:java
```