You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the LEF claim page opens, it immediately makes an AJAX call to a payload endpoint (/get-credential-links) to get the deeplink for the LCW. Payload in turn makes a call to the DCC transaction manager, which sets up the exchange endpoint and returns the deeplink to payload, which then returns it to the collection page. The collection page then turns the deeplink into the QR code that it displays.
The exchange endpoint is by default only set to live for 10 minutes. So if you've opened up the claim page, you've got ten minutes to collect the credential after which the deep link expires. If you try to scan the QR at this point the wallet opens but you get a cryptic error:
The ten minute expiration is intentional to handle the case where someone maybe left the claim page open. We don't want someone else to come along and be able scan the QR and collect the credential.
At the moment, though, you can just refresh the claim page to get a fresh QR, because the authentication JWT is still available to the page.
So, we want javascript in the claim page that will redirect after ten minutes to a different page that doesn't have the JWT, and shows a message like 'Your credential link has expired. If you haven't yet collected your credential, please try again using the link that was sent to you.'
The text was updated successfully, but these errors were encountered:
When the LEF claim page opens, it immediately makes an AJAX call to a payload endpoint (/get-credential-links) to get the deeplink for the LCW. Payload in turn makes a call to the DCC transaction manager, which sets up the exchange endpoint and returns the deeplink to payload, which then returns it to the collection page. The collection page then turns the deeplink into the QR code that it displays.
The exchange endpoint is by default only set to live for 10 minutes. So if you've opened up the claim page, you've got ten minutes to collect the credential after which the deep link expires. If you try to scan the QR at this point the wallet opens but you get a cryptic error:
The ten minute expiration is intentional to handle the case where someone maybe left the claim page open. We don't want someone else to come along and be able scan the QR and collect the credential.
At the moment, though, you can just refresh the claim page to get a fresh QR, because the authentication JWT is still available to the page.
So, we want javascript in the claim page that will redirect after ten minutes to a different page that doesn't have the JWT, and shows a message like 'Your credential link has expired. If you haven't yet collected your credential, please try again using the link that was sent to you.'
The text was updated successfully, but these errors were encountered: