AltMe icon indicating copy to clipboard operation
AltMe copied to clipboard

502 Bad Gateway using Altme 3.0.2

Open dansan566 opened this issue 8 months ago • 6 comments

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:

Image

dansan566 avatar Apr 28 '25 10:04 dansan566

@dansan566 you're speaking of https://staging.envited-x.net/ ? I can't start the process:

Image

hawkbee1 avatar May 07 '25 10:05 hawkbee1

@dansan566 ?

hawkbee1 avatar May 15 '25 08:05 hawkbee1

@hawkbee1 sorry, I was on vacation! @royscheeren fixed it on our side. @royscheeren can you please elaborate what we needed to fix?

dansan566 avatar May 20 '25 09:05 dansan566

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.

royscheeren avatar May 26 '25 08:05 royscheeren

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.

hawkbee1 avatar May 28 '25 14:05 hawkbee1

Could we have known this change was happening? It came as a surprise to me.

royscheeren avatar May 29 '25 10:05 royscheeren