Refresh Session API Request Fails on 2nd Attempt

Reply
MTarkowski1
L0 Member

Refresh Session API Request Fails on 2nd Attempt

At https://api.docs.prismacloud.io/reference#extend-session it says - Extend a user's session. The JWT token returned is valid until the next session timeout occurs. This method requires a valid session token to be passed (token from a prior successful extend or login calls).

 

Issue - when using JWT token returned in response body from 1st Refresh Session API request in my 2nd Refresh Session API request a status code of 401 is returned.

According to the  Refresh Session API reference, my 2nd Refresh Session API request should work using "token from a prior successful extend".

 

Steps to Repeat

1 - Complete Login API

2 - Using token returned from Login API, complete Refresh Session API within 1 minute.

3 - Using token returned from Refresh Session API (step 2), attempt a  2nd Refresh Session (within 1 minute) but a API 401 is returned.

 

Tags (2)
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!