Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Mar 31, 2022
1 parent 5628846 commit e47e37d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ each of these can be installed separately within a django project. These are the

------------------------------------------------

![RP Auth demo](docs/images/rp_auth_demo_3.gif)
![RP Auth demo](docs/images/rp_auth_demo_4.gif)
_An onboarded Relying Party with a succesfull authentication._

## Setup
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ports:
- "8000:8000"
volumes:
- ./examples/federation_authority:/django-project
- ./examples-docker/federation_authority:/django-project
networks:
- oidcfed
command: |
Expand All @@ -26,7 +26,7 @@ services:
ports:
- "8002:8002"
volumes:
- ./examples/provider:/django-project
- ./examples-docker/provider:/django-project
networks:
- oidcfed
depends_on:
Expand All @@ -46,7 +46,7 @@ services:
ports:
- "8001:8001"
volumes:
- ./examples/relying_party:/django-project
- ./examples-docker/relying_party:/django-project
networks:
- oidcfed
depends_on:
Expand Down
6 changes: 5 additions & 1 deletion docker-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
export EXPFOLDER="examples-docker"
cp -R examples $EXPFOLDER

# remove dev db
rm $EXPFOLDER/relying_party/db.sqlite3
rm $EXPFOLDER/provider/db.sqlite3
rm $EXPFOLDER/federation_authority/db.sqlite3

# Configure the rewrite rules:
export SUB_AT='s\http://127.0.0.1:8000/\http://trust-anchor.org:8000/\g'
export SUB_RP='s\http://127.0.0.1:8001/\http://relying-party.org:8001/\g'
export SUB_OP='s\http://127.0.0.1:8002/\http://cie-provider.org:8002/\g'


# Apply the rewrite rules:

sed -e $SUB_AT -e $SUB_RP -e $SUB_OP examples/federation_authority/dumps/example.json > $EXPFOLDER/federation_authority/dumps/example.json
Expand Down
Binary file added docs/images/rp_auth_demo_4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e47e37d

Please sign in to comment.