502 Bad Gateway using Altme 3.0.2
Description: It is not possible to connect with ASCS member card into ENVITED anymore. Both @royscheeren and I are using Altme 3.0.2. It worked with an previous Altme version. The following error message is presented:
@dansan566 you're speaking of https://staging.envited-x.net/ ? I can't start the process:
@dansan566 ?
@hawkbee1 sorry, I was on vacation! @royscheeren fixed it on our side. @royscheeren can you please elaborate what we needed to fix?
I got this reply from Felix:
usually the VCs in a VP are an array, since a VP can have more than one VC. But, for some reason there are some JSON-LD VPs (like the ones from Altme), that do not make it an array, if it presents one VC only. I also had to account for that in the code of the SSI-to-OIDC Bridge from the start.
@hawkbee1 Could it be that we are now getting the aforementioned array regardless? We havent changed anything on our side on the credentials but changing our bridge to expect an array fixed the problem.
Probably. When I started working on SSI 4 years ago I was really surprised to discover this habit of having an array or just a value depending on the quantity. Nowadays it's slowly disappearing with new specifications and usage.
Could we have known this change was happening? It came as a surprise to me.