oidc_callback.html 447 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Waiting...</title>
</head>

<body>
  <script src="oidc-client.js"></script>
  <script>
    var mgr = new Oidc.UserManager({userStore: new Oidc.WebStorageStateStore()})
    mgr.signinRedirectCallback().then(function (user) {
14
      console.log(user)
15
16
17
18
19
20
21
22
      window.location.href = '../'
    }).catch(function (err) {
      console.log(err)
    })
  </script>
</body>

</html>