The RP (Relying Party) component is representative of an external consumer of the Inacademia service. It is an OIDC client that communicates with the OP component.
├── app │ └── start.sh ├── build_op.sh ├── config │ └── etc │ ├── pound │ │ └── pound.cfg │ └── ssl │ └── private │ ├── op.inacademia.local.crt │ ├── op.inacademia.local.key │ └── server.pem ├── Dockerfile └── run_op.sh |
The Dockerfile is the basis for the docker to be build. The build_rp.sh and run_rp.sh scripts will build and run the docker image respectively. The run_rp.sh script will test if the image exists, and if not, try to build it before running it.
In the config directory 2 subdirectories exist.
The docker file is completely self contained, so it will build the OP based on the condig and by pulling relevant repositories if needed
|
Now run the run script to build and run our docker based RP
Assuming your deploy went without errors, you can now run the OP. It should now have available trough: https://op.inacademia.local/
To start the RP, launch your browser and go to https://rp.inacademia.local/