Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Slient renew openid-configuration is being canceled #1387

Open
ebinroy opened this issue May 31, 2021 · 0 comments
Open

Slient renew openid-configuration is being canceled #1387

ebinroy opened this issue May 31, 2021 · 0 comments

Comments

@ebinroy
Copy link

ebinroy commented May 31, 2021

Hi,
I am using "oidc-client": "^1.11.5", While calling silent renew openid-configuration is being canceled

in silent-callback.html

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=1024, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <!--copied from the oidc-client package-->
  <script src="/assets/oidc-client.min.js"></script>
</head>

<body>
  <script>

    //same as the auth config settings
    const stsSettings = {
      authority: "https://localhost:5000/",
      client_id: "AngularClient",
      scope: "openid profile api1 ",
      response_type: "code",
    };

    new Oidc.UserManager(stsSettings).signinSilentCallback().catch(error => {
      debugger;
      console.error("######## Silent call back -> ", error);
    });


    
    
  </script>
</body>

</html>

In chrome network tab I am getting below error but access token is being renewed without any issue. What is the cause of this being cancelled? Kindly advise

1
2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant