Base solution for your next web application

Activities of "tapio.muikku"

I encountered to same issue. After looking through the code I believe issue is in the signalRHelper.ts file. I got this working by following change:

export class SignalRHelper {
    static initSignalR(callback: () => void): void {
        new LocalStorageService().getItem(
            AppConsts.authorization.encrptedAuthTokenName,
            function (err, value) {
                let encryptedAuthToken = value?.token;
                // qsAuthtoken set as undefined initially. Initialize it only when we have token available
                let qsAuthToken: string;
                if (encryptedAuthToken) {
                    qsAuthToken =
                        AppConsts.authorization.encrptedAuthTokenName +
                        "=" +
                        encodeURIComponent(encryptedAuthToken);
                }

                abp.signalr = {
                    autoConnect: false, // _zone.runOutsideAngular in ChatSignalrService
                    // autoReconnect: true,
                    connect: undefined,
                    hubs: undefined,
                    qs: qsAuthToken,
                    remoteServiceBaseUrl: AppConsts.remoteServiceBaseUrl,
                    startConnection: undefined,
                    url: "/signalr",
                };

Hi, We have a specific need with linked accounts to mark one of them as preferred account. Currently userAcciount class is in Abp.Zero.Common library, and not as asbtract. i could change this, but it would cause probably some merging issues with new releases coming from Zero side, right ?

**Background to question

Our solution is multitenant application, but this should shall invisible to users. Thus there is no tenant selection during login. Login is allowed only thru an external provider; which is a strong authentication provider. This cannot be associated to any tenant either.

Login flow:

  1. User comes to application main page; and performs login in external provider
  2. Application receives unique identifier (social security number)
  3. With this identifier we search all users and useraccounts from the database.

I would like to have an option that user can mark (from UI) which of the accounts is the preferred one.

Any thoughts on your side ?

  • Useraccount as an abstract class ?
  • IsDefault flag on UserAccount class ?

Do you forsee that any of these might be doable on Zero platfrom directly

Regards, Tapio

Showing 1 to 2 of 2 entries