Skip to content

Fix: actually return the extracted request object

Created by: acrusage-iaik

There is currently a bug where the siop presentation fails in case the url contains a request object. This is, because the request object is not actually used.

I am unsure about versioning policies and publication though, so these might need to be overworked as well. I also have issues with building the library locally, so it would be great if someone else could take over?

An example of this is the following request url, but I'm unsure how to write a test for that: https://wallet.a-sit.at/mobile?client_id=https%3A%2F%2Fapps.egiz.gv.at%2Fterminal_sp%2Fsiopv2%2Fpostsuccess&request=eyJraWQiOiJkaWQ6a2V5Om1FcEJyQ21MMjRTT3VHenBZSWRraHNrLzlhZlZtU0w0cTQ2RFBqS0hVcUVBL0tSU3VubEZFK3owcUdXNGdqNXYzOWRLc1pQNndaUEZpYVppVzZsV3YwOGxwIiwiYWxnIjoiRVMyNTYiLCJqd2siOnsiY3J2IjoiUC0yNTYiLCJrdHkiOiJFQyIsImtpZCI6ImRpZDprZXk6bUVwQnJDbUwyNFNPdUd6cFlJZGtoc2svOWFmVm1TTDRxNDZEUGpLSFVxRUEvS1JTdW5sRkUrejBxR1c0Z2o1djM5ZEtzWlA2d1pQRmlhWmlXNmxXdjA4bHAiLCJ4IjoiYXdwaTl1RWpyaHM2V0NIWkliSlBfV24xWmtpLUt1T2d6NHloMUtoQVB5ayIsInkiOiJGSzZlVVVUN1BTb1piaUNQbV9mMTBxeGtfckJrOFdKcG1KYnFWYV9UeVdrIn19.eyJyZXNwb25zZV90eXBlIjoiaWRfdG9rZW4gdnBfdG9rZW4iLCJjbGllbnRfaWQiOiJodHRwczovL2FwcHMuZWdpei5ndi5hdC90ZXJtaW5hbF9zcC9zaW9wdjIvcG9zdHN1Y2Nlc3MiLCJyZWRpcmVjdF91cmkiOiJodHRwczovL2FwcHMuZWdpei5ndi5hdC90ZXJtaW5hbF9zcC9zaW9wdjIvcG9zdHN1Y2Nlc3MiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIElkQXVzdHJpYTIwMjMiLCJzdGF0ZSI6IkVHdWVWYVp1UklwT201UjhvUUV5OFFDeXpsMFYwUHh2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