-
Notifications
You must be signed in to change notification settings - Fork 59
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download metadata SP da server senza TLS #280
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In fase di test o sviluppo può essere conveniente lavorare in locale, ad esempio facendo girare il proprio SP in un altro container Docker. (Per consentire a spid-saml-check di scaricare i metadati SP bisogna solitamente sostituire l'hostname "localhost" nell'URL dei metadati con "host.docker.internal".)
Qualora i metadati del SP non vengano esposti via HTTPS, spid-saml-check non riesce a scaricarli ma non fornisce un errore chiaro.
Come workaround bisogna modificare il file spid-validator/server/lib/utils.js, cambiando questa riga:
in:
Idealmente, per supportare sia indirizzi HTTP che HTTPS si dovrebbe fare qualcosa del tipo:
The text was updated successfully, but these errors were encountered: