https://github.com/paulwoods/woods
edit your host file, and add the following lines:
- 127.0.0.1 gateway
- 127.0.0.1 auth
- 127.0.0.1 server
- 127.0.0.1 web
- 127.0.0.1 client
- install java21
- cd gateway 2./gradlew bootRun
In another terminal, enter:
curl gateway:8080/actuator/health
- install java21
- cd server
- /gradlew/bootRun
In another terminal, enter:
curl server:8081/actuator/health
- install the latest node lts release
- cd client
- npm install
- npm run dev
browse to http://client:5173
Once all 3 components are running you can browse to http://gateway:8080/. You should see the home page of the application. Click the greeting button and you should see the message returned by the server displayed underneath the greeting button.
- authorization url = http://auth:9000/oauth2/authorize
- access token url = http://auth:9000/oauth2/token
- client id = oidc-client
- client secret = secret
- use pkce = (un-checked)
- code challenge method = sha-256
- redirect url = http://gateway:8080/login/oauth2/code/oidc-client advanced
- scope = profile
use for testing:
-
"auth": { "base_url": "http://auth:9000", "authorization_url":"http://auth:9000/oauth2/authorize", "access_token_url":"http://auth:9000/oauth2/token", "client-id":"oidc-client", "client-secret":"secret" }