Token Reuse Detected

Hey Sailors,

I am working on an API with custom authentication.

Whenever the token is generated, it is storing in response mapping as below. Actual attribute path is $.access_token, in the next operation, I am getting an error as Token reuse detected.

How can we stop reusing the token, I have read the docs, I couldn’t find anything about this.

Thanks
Krish

Hello @KRM7 ,

What is the error code ? Or the exact error message .

For Sailpoint Custom Authentication , only 401 is considered unauthorised error. If the error code and messages are different , we need to add them separately so that sailpoint will re-execute the authentication operation which will give a new token . You can add these error codes and messages in Additional Settings → Common Configuration

hope this helps ! :smiley: