Skip to content

Commit

Permalink
docs: specify example folder is not production ready (#119)
Browse files Browse the repository at this point in the history
* fix: use virtual enviroment for python package

Django SP

* docs: stress the importance of not using `example` in production

* fix: remove ISPRA references

* Revert "fix: use virtual enviroment for python package"

This reverts commit f49b1b7.

---------

Co-authored-by: Salvatore Laiso <[email protected]>
  • Loading branch information
salvatorelaiso and Salvatore Laiso committed Feb 7, 2024
1 parent c5952d4 commit 9028629
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ For docker-compose you can also [see here](https://docs.docker.com/compose/insta

Copy the folder `example` to `docker-example` and do your configuration.

> :warning: **DO NOT USE the `example` folder _as is_ in production**: the `example` folder provides secrets that **MUST** be not used in a production environment. It sole purpose is to provide a user friendly starting point.
### Start the Compose

Execute the run script for the first time:
Expand Down
2 changes: 1 addition & 1 deletion Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
- SATOSA_CONTACT_PERSON_TELEPHONE_NUMBER=+3906123456789
- SATOSA_CONTACT_PERSON_FISCALCODE=01234567890
- SATOSA_CONTACT_PERSON_GIVEN_NAME=Name
- SATOSA_CONTACT_PERSON_IPA_CODE=ispra_rm
- SATOSA_CONTACT_PERSON_IPA_CODE=ipa00c
- SATOSA_CONTACT_PERSON_MUNICIPALITY=H501
- SATOSA_ENCRYPTION_KEY=CHANGE_ME!

Expand Down
2 changes: 1 addition & 1 deletion README-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ You can override the configuration of the proxy by settings one or more of the f
| **SATOSA_CONTACT_PERSON_TELEPHONE_NUMBER** | Metadata Contact person telephone number for SPID / CIE Backend | +3906123456789 |
| **SATOSA_CONTACT_PERSON_FISCALCODE** | Metadata Contact person fiscal code for SPID / CIE Backend | 01234567890 |
| **SATOSA_CONTACT_PERSON_GIVEN_NAME** | Metadata Contact person name | Name |
| **SATOSA_CONTACT_PERSON_IPA_CODE** | Metadata Contact person IPA code for SPID / CIE Backend | ispra_rm |
| **SATOSA_CONTACT_PERSON_IPA_CODE** | Metadata Contact person IPA code for SPID / CIE Backend | ipa00c |
| **SATOSA_CONTACT_PERSON_MUNICIPALITY** | Metadata Contact person municipality code for CIE Backend | H501 |
| **SATOSA_ENCRYPTION_KEY** | Encryption key for state | CHANGE_ME! |
| **SATOSA_ORGANIZATION_DISPLAY_NAME_EN** | Metadata English organization display name | Resource provided by Example Organization |
Expand Down
2 changes: 1 addition & 1 deletion example/static/disco.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h2>SPID o CIE</h2>
<div class="row">
<div class="col-lg-12 text-center button-container">
<!-- AGID - eIDAS IDP BUTTON SMALL "ENTRA CON CIE" * begin * -->
<a href="/Saml2/disco?entityID=https://idserver.servizicie.interno.gov.it/idp/profile/SAML2/POST/SSO&return=https://sso.isprambiente.it/Saml2/disco" class="btn btn-outline-primary btn-lg btn-me w-100" eidas-idp-button="#eidas-idp-button-xlarge-post" aria-haspopup="false" aria-expanded="false">
<a href="/Saml2/disco?entityID=https://idserver.servizicie.interno.gov.it/idp/profile/SAML2/POST/SSO&return=https://sso.exampleservice.it/Saml2/disco" class="btn btn-outline-primary btn-lg btn-me w-100" eidas-idp-button="#eidas-idp-button-xlarge-post" aria-haspopup="false" aria-expanded="false">
<span><img class="icon buttonicon" src="/static/cie/cie_blue.svg" alt="Logo CIE" /></span>
<span>Entra con CIE</span>
</a>
Expand Down

0 comments on commit 9028629

Please sign in to comment.