Okta signout does not force PIV PIN Input Dialog

Discussão em 'Angular' iniciado por c0micrage, Março 27, 2025.

  1. c0micrage

    c0micrage Guest

    I have been trying many methods to force OKTA to prompt a user to input their PIN with their modal dialog. Only way so far is pull out the PIV card and reinsert. When the clear the user token and redirect, OKTA just automatically redirect the user back to the app with a new auth code without a PIN INPUT Dialog. Something needs to be cleared in the browser but have nto found a way yet. I tried the following without any success.

    await sessionStorage.clear(); awai localStorage.clear(); await this.oktaAuth.revokeAccessToken(); await this.oktaAuth.revokeRefreshToken(); await this.oktaAuth.clearStorage(); await this.oktaAuth.closeSession(); await this.oktaAuth.signout();

    I have AuthGuard and it will redirect the user to OKTA.

    Any help is appreciated. Thanks

    Continue reading...

Compartilhe esta Página