Skip to content
Snippets Groups Projects
oidc_callback.html 461 B
Newer Older
  • Learn to ignore specific revisions
  • <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="UTF-8">
      <title>Waiting...</title>
    </head>
    
    <body>
        <script type="module">
          import { UserManager, WebStorageStateStore } from 'oidc-client'
          const manager = new UserManager({ userStore: new WebStorageStateStore() })
          manager.signinRedirectCallback()
              .then(() => { window.location.href = '../' })
              .catch((err) => { console.log(err) })
        </script>
    </body>
    </html>