italia / spid-cie-oidc-nodejs

The SPID/CIE OIDC Federation for Node.js
Apache License 2.0
11 stars 3 forks source link

no response from http://relying-party.org:3000/oidc/rp/providers #90

Open PP-Infospera opened 1 year ago

PP-Infospera commented 1 year ago

Hi, thank you for your hard work. It's really great and well done. However, I'm facing some issues when trying to run it via Docker. I can't see any providers on the list, and when I attempt to fetch data using Postman, I receive an empty response. Additionally, in order to make this repository work, I had to modify the docker/Dockerfile.django as follows:

FROM python:latest

RUN apt update && apt -y install git

RUN git clone --depth=1 --branch v1.0.0 https://github.com/peppelinux/spid-cie-oidc-django && \
  cd spid-cie-oidc-django && \
  pip install --upgrade pip && \
  pip install -e . && \
  pip install design-django-theme && \
  pip install tzdata

RUN cd spid-cie-oidc-django/examples/federation_authority && cp federation_authority/settingslocal.py.example federation_authority/settingslocal.py
RUN cd spid-cie-oidc-django/examples/federation_authority && python3 ./manage.py migrate
RUN cd spid-cie-oidc-django/examples/federation_authority && python3 ./manage.py loaddata dumps/example.json

ENTRYPOINT python3 spid-cie-oidc-django/examples/federation_authority/manage.py runserver 0.0.0.0:8000

I followed the provided instructions, but I'm still receiving empty responses. Could you please assist me in resolving this issue?

image image
fautore commented 5 months ago

I seem to be having the same issue, even after following the setup guide at https://github.com/italia/spid-cie-oidc-nodejs/blob/main/examples/express-react-relying-party/README.md.

Also, the docker containers and both the docker-compose files are not working.

freddi301 commented 3 months ago

Unfortunately the instructions for using software components outside this repo are outdated right now