italia / eudi-wallet-it-python

Python toolchain for building an OpenID4VP RP with a SATOSA backend compliant with the Italian Wallet implementation profile
Apache License 2.0
17 stars 14 forks source link

[Bug][Satosa] Default QR Code rendering fails #243

Closed Zicchio closed 3 months ago

Zicchio commented 4 months ago

The default QR code rendering fails and insufficient data is passed to the Jinja template engine. More precisely, this step https://github.com/italia/eudi-wallet-it-python/blob/52fcbece3fa77fefbd5e91181ac3e2e73fc5f098/example/satosa/templates/qr_code.html#L31

fails due tot he fact that qrcode_logo_path is not passed to the data dictionary for Jinja https://github.com/italia/eudi-wallet-it-python/blob/52fcbece3fa77fefbd5e91181ac3e2e73fc5f098/pyeudiw/satosa/default/openid4vp_backend.py#L215-L223

Note that self.config indeed contains the required information.

elisanp commented 3 months ago

Closed with #244