OSSupportQuestions

F5 or refresh page gives a token error when using an Iframe with a one span URL

0 votes
One of our customer is using a Iframe with one span sign URL embedded in .net 5 mvc web application. The problem is that if a user refresh the page they get an error access unauthorized your authentication token is incorrect. "Accès non autorisé. Votre jeton d'authentification a été incorrect." When they look at the token before and after the post, the 2 tokens are the same with the same URL https://sandbox.esignlive.com/access?sessionToken=... They were looking at implementing some JavaScript code to prevent the F5 or refresh button from happening.

Reply to: F5 or refresh page gives a token error when using an Iframe with a one span URL

0 votes
Hi there, It looks like the client was using single use authentication token vs multi-use token, that's why when they refreshed the page and log onto the signing ceremony again, they saw the "access unauthorized" message. To work it around, they can either use multi-use token, guide link here, or they can stick to the plan "forbid the f5 button during signing". Best, Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off