Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler committed Feb 4, 2022
1 parent a0d5421 commit 6911e93
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
TODO :)
# Kubernetes Demo Application for Distributed Authentication Mesh

- operator mue laufe
-
This repository represents a demo application that can be used to showcase the Distributed Authentication Mesh.
The application consists of an API that uses Basic Authentication and a "frontend" application that uses OIDC with "Keycloak".

To install the application, follow these steps:

- Get a Kubernetes cluster somehow (Docker Desktop, minikube or a "real" cluster)
- If you are using a local cluster you'll need some host entries (wirepact-api.localhost, wirepact-app.localhost, and keycloak.localhost)
- If you are using a real cluster, adjust the ingress.yaml files for the app/keycloak and api
- Install the prerequisities (WirePact Operator and NGINX Ingress Controller)
- Install the application

All installations shall be done with ["Kustomize"](https://kustomize.io/).

It takes quite a while for Keycloak to start up, but the applications will correctly start up, as soon as Keycloak is up and running.

After everything runs, you may connect to the app and use the test user to login. When you press the "Call API" button, you should receive data from the API. As a test, you may delete the mesh-participant entity for the API. The API will be accessible, but only with Basic Auth credentials.

The credentials are as follows:

- Test User: username `test` password `test`
- Keycloak Admin: username `admin` password `admin`
- Basic Auth Credentials: username `user` password `pass`

0 comments on commit 6911e93

Please sign in to comment.