- Start keycloak server and create a realm.
- Create a public client for the React app.
Creating a public client,
Screen.Recording.2023-04-26.at.9.31.46.AM.mov
- Update the
issuer-uri
in application.yaml accordingly.
- Update the
issuer-uri
in application.yaml accordingly.
-
cd ./react-frontend
-
Install dependencies
npm ci
-
Download the keycloak.json file from the configured public client in keycloak.
-
Place it in the /public folder.
-
Start the application
npm start
Login, Registration will be handled from the Frontend. API gateway and resource server only validate the access_token in the authorization header. If unauthenticated, simply return 401.