I need to get a JWT token from the log file. Unfortunately, the file weighs 20 Mb, and it's hard to deserialize here.
Does anyone know how to find Logs and remove the text before refresh_token?
Unfortunately I don't know how to remove the Text Before and after refresh_token
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [
{
"name": "Date",
"value": "Tue, 06 Sep 2022 07:36:39 GMT"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Content-Length",
"value": "3214"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cache-Control",
"value": "no-store"
},
{
"name": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"name": "Referrer-Policy",
"value": "no-referrer"
},
{
"name": "Strict-Transport-Security",
"value": "max-age=16070400; includeSubDomains"
},
{
"name": "X-Content-Type-Options",
"value": "nosniff"
}
],
"content": {
"size": 3214,
"compression": 0,
"mimeType": "application/json",
"text": "{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiAwNjEwLCJpc3MiOiJodHRwO.......wKRTus6PAoHMFlIlYQ75dYiLzzuRMvdXkHl6naLNQ8wYDv4gi7A3eJ163YzXSJf5PmQ",
"expires_in": 600,
"refresh_expires_in": 1800,
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cC.......IsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUifQ.ePV2aqeDjlg6ih6SA7_x77gT4JYyv7HvK7PLQW-X1mM",
"token_type": "bearer",
"id_token": "eyJhbGciOiJSUz.......A_d_LV96VCLBeTJSpqeqpMJYlh4AMJqN6kddtrI4ixZLfwAIj-Qwqn9kzGe-v1-oe80wQXrXzVBG7TJbKm4x5bgCO_B9lnDMrey90rvaKKr48K697ug",
"not-before-policy": 0,
"session_state": "22c8278b-3346-468e-9533-f41f22ed264f",
"scope": "openid email profile"
}
},
"redirectURL": "",
"headersSize": 442,
"bodySize": 3214
},
"cache": {},
"timings": {
"send": 2,
"receive": 2,
"wait": 116,
"connect": -1000,
"ssl": -1000
}
},