Forum Discussion

anoop1's avatar
anoop1
Icon for Nimbostratus rankNimbostratus
Mar 24, 2017

BIGIQ Login Refresh Token

Hi All,

 

While hitting the API (;)

 

below is the response in which i am getting refresh token , Can someone please help me to understand how refresh token can increase my session duration and what is the corresponding API to send the same.

 

{ "username": "admin", "loginReference": { "link": "; }, "loginProviderName": "local", "token": { ....... }, "refreshToken": { "token": "eyJraWQiOiI0OTlmYWQ5Yy01ZDc0LTRlMDctYWVlYy01ZjAyZTAwMDIyYzQiLCJhbGciOiJSUzM4NCJ9.eyJpc3MiOiJCSUctSVEiLCJqdGkiOiJVRGtWVEV5cV8xWVEwbG1KcmNTRHNnIiwic3ViIjoiYWRtaW4iLCJhdWQiOiIxOTIuMTY4LjEzOC45IiwiaWF0IjoxNDkwMzQyMjYzLCJleHAiOjE0OTAzNzgyNjMsInVzZXJOYW1lIjoiYWRtaW4iLCJhdXRoUHJvdmlkZXJOYW1lIjoibG9jYWwiLCJ1c2VyIjoiaHR0cHM6Ly9sb2NhbGhvc3QvbWdtdC9zaGFyZWQvYXV0aHovdXNlcnMvYWRtaW4iLCJ0eXBlIjoiUkVGUkVTSCIsInRpbWVvdXQiOjM2MDAwLCJncm91cFJlZmVyZW5jZXMiOltdfQ.cu-QYKO1EMxUi79NVCNC7fhdRfh3IwQj8BHo2COPAJS7T9ZI-_kySL1eBCIk7WH5EUQ3fLzz56dVvDMhuRSY2TFbLUi1LhIwqjzc8D9PKOcT_MBz98RuNk3SPiMbxdyxrWaVqRJcdAHhg9VS1LpXMX7ChQ6f9sKGri6d_s2SCmCl9Fg9ptYcuZo8UAKkbO6h-ogmqPo_L2r_M0ibVo7fxeFCRYxoRxI2XiLUHhrlKDnnFqWI8lsgcFQIh5f6CawjD1jSi99nr8EmacWdZdVDZSB234umakTve5P-T6k0SxmgcOZ6N2MovyKeTiLLibB1NtrE7LWfLA-pbE51-Ms6ZmUDj4moSm0k6EwXju5Ep7dHPiYBWTbHwicmU2ojAFBt-k41jKAe9AjxHRzu6e6d22Lr-ALL2sW73QrS7OjNpJC8dQYZ0QjYlMU51v4PQz1FseSjUn8kGpCOaxqcaUoWT_PC8I-m1BNtq8gxskBW_g5_b6jROQAlrL3gCvhXjoqa", "userName": "admin", "authProviderName": "local", "user": { "link": "; }, "groupReferences": [], "timeout": 36000, "address": "192.168.138.9", "type": "REFRESH", "jti": "UDkVTEyq_1YQ0lmJrcSDsg", "exp": 1490378263, "iat": 1490342263, "generation": 7489, "lastUpdateMicros": 1490342263417951, "kind": "shared:authz:tokens:authtokenitemstate", "selfLink": "; }, "generation": 3723, "lastUpdateMicros": 1490342263418805 }

 

2 Replies

  • BobVT's avatar
    BobVT
    Icon for Nimbostratus rankNimbostratus

    Same question (Big-IQ 5.2.0) .... but also for ldap provider. I can get a working token, but only with a 300 sec timeout. How do we: * Increase the timeout? the older PATCH based syntax says unsupported, trying POST returns "Missing user authentication data, user is null"

     

    * Refresh the existing token, without going through the whole process.

     

    Anyone have success with this?