Type Alias UserState

UserState: {
    homeserverUrl: string;
    identityServerUrl?: string;
    nonce: string;
}

State we ask OidcClient to store when starting oidc authorization flow (in generateOidcAuthorizationUrl) so that we can access it on return from the OP and complete login

Type declaration

  • homeserverUrl: string

    Remember which server we were trying to login to

  • OptionalidentityServerUrl?: string
  • nonce: string

    Used to validate id token