Skip to content

Commit

Permalink
Merge pull request #267 from italia/exp
Browse files Browse the repository at this point in the history
fix: example project
  • Loading branch information
peppelinux authored Jul 20, 2023
2 parents c47e3f1 + d6151a7 commit 5681162
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ examples/relying_party/logs/
examples/federation_authority/federation_authority/settingslocal.py
examples/relying_party/relying_party/settingslocal.py
examples/provider/provider/settingslocal.py
examples/wallet_trust_anchor/wallet_trust_anchor/settingslocal.py

examples-docker/
docker-compose-externalrp.yml
8 changes: 4 additions & 4 deletions docker-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ rm -f $EXPFOLDER/provider/db.sqlite3
rm -f $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'
export SUB_WTA='s,http://127.0.0.1:8000/,http://wallet.trust-anchor.org:8005/,g'
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'
export SUB_WTA='s,http://127.0.0.1:8000,http://wallet.trust-anchor.org:8005,g'

# Apply the rewrite rules:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ DEBUG = True
# the path corresponding the admin backend, default if not defined: admin/
# CHANGE THIS VALUE
ADMIN_PATH = 'admin/'
APPEND_SLASH = False

# required for onboarding checks and also for all the leafs
OIDCFED_DEFAULT_TRUST_ANCHOR = "http://127.0.0.1:8000"
Expand Down
1 change: 1 addition & 0 deletions examples/provider/provider/settingslocal.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DEBUG = True
# the path corresponding the admin backend, default if not defined: admin/
# CHANGE THIS VALUE
ADMIN_PATH = 'admin/'
APPEND_SLASH = False

# required for onboarding checks and also for all the leafs
OIDCFED_DEFAULT_TRUST_ANCHOR = "http://127.0.0.1:8000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DEBUG = True
# the path corresponding the admin backend, default if not defined: admin/
# CHANGE THIS VALUE
ADMIN_PATH = 'admin/'
APPEND_SLASH = False

# required for onboarding checks and also for all the leafs
OIDCFED_DEFAULT_TRUST_ANCHOR = "http://127.0.0.1:8000"
Expand Down

0 comments on commit 5681162

Please sign in to comment.