oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

Question: iOS signoutsilent

Open Excel1 opened this issue 7 months ago • 0 comments

I implemented the oidc-client.ts in my vue capacitor app. To logout i use the signoutSilent.

async function logout() {
      await userManager?.signoutSilent();
  } catch (error) {
    console.error('OIDC logout error:', error);
  }
}

On Android everything works perfect. But on iOS i got logged off but not redirected:

Redirection to URL with a scheme that is not HTTP(S) Failed to load resource: Redirection to URL with a scheme that is not HTTP(S)

Redirect to: myapp://lougout

How does the library work with signOutSilent. Is this more a capacitor problem?

Excel1 avatar Apr 09 '25 16:04 Excel1