this is failing from oktaAuth.token.parseFromUrl() and seeing below error. Not sure where this is failing at… I dont see any call is being made to okta to get the token at this point of time… but somewhere it is failed
xhr: I modified the urls in below xhr
“_priority”: “High”,
“_resourceType”: “xhr”,
“cache”: {},
“pageref”: “page_4”,
“request”: {
“method”: “POST”,
“url”: “https://{our tenant}/oauth2/{ourauth}/v1/token”,
“httpVersion”: “”,
“headers”: [
{
“name”: “Host”,
“value”: “our tenant”
},
{
“name”: “Connection”,
“value”: “keep-alive”
},
{
“name”: “Content-Length”,
“value”: “234”
},
{
“name”: “accept”,
“value”: “application/json”
},
{
“name”: “x-okta-user-agent-extended”,
“value”: “okta-auth-js/4.0.0”
},
{
“name”: “User-Agent”,
“value”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36”
},
{
“name”: “content-type”,
“value”: “application/x-www-form-urlencoded”
},
{
“name”: “Origin”,
“value”: “https://oururl”
},
{
“name”: “Sec-Fetch-Site”,
“value”: “cross-site”
},
{
“name”: “Sec-Fetch-Mode”,
“value”: “cors”
},
{
“name”: “Sec-Fetch-Dest”,
“value”: “empty”
},
{
“name”: “Referer”,
“value”: “https://referrer url”
},
{
“name”: “Accept-Encoding”,
“value”: “gzip, deflate, br”
},
{
“name”: “Accept-Language”,
“value”: “en-US,en;q=0.9”
}
],
“queryString”: ,
“cookies”: ,
“headersSize”: -1,
“bodySize”: 234,
“postData”: {
“mimeType”: “application/x-www-form-urlencoded”,
“text”: “client_id=clientid&redirect_uri=https%3A%2F%2Foururl%2F&grant_type=authorization_code&code=code&code_verifier=verifier”,
“params”: [
{
“name”: “client_id”,
“value”: “clientid”
},
{
“name”: “redirect_uri”,
“value”: “https%3A%2F%2Fredirecturl%2F”
},
{
“name”: “grant_type”,
“value”: “authorization_code”
},
{
“name”: “code”,
“value”: “code”
},
{
“name”: “code_verifier”,
“value”: “code-verifier”
}
]
}
},
“response”: {
“status”: 0,
“statusText”: “”,
“httpVersion”: “”,
“headers”: ,
“cookies”: ,
“content”: {
“size”: 0,
“mimeType”: “x-unknown”
},
“redirectURL”: “”,
“headersSize”: -1,
“bodySize”: -1,
“_transferSize”: 0,
“_error”: “net::ERR_CONNECTION_RESET”
},
“serverIPAddress”: “”,
“startedDateTime”: “2021-02-02T23:27:07.512Z”,
“time”: 609.566997,
“timings”: {
“blocked”: 609.566997,
“dns”: -1,
“ssl”: -1,
“connect”: -1,
“send”: 0,
“wait”: 0,
“receive”: 0,
“_blocked_queueing”: -1
}
},