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

Slient renew openid-configuration is being canceled #1387

Open
@ebinroy

Description

@ebinroy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions