piggyvault / piggyvault

Family finance management app.

Home Page:https://piggyvault.abhith.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User management via App

abhith opened this issue · comments

Hey I am not sure, but when I create a new user or a new tenant on the angular admin panel. The app does not recognize it for some reason.

Is there a specific way users should be added?

Because on the api page it does work when I leave the tenancy empty.

I changed the api url on the following files: "piggy_api_client.dart", "rest_client.dart"

It should work. You can check the API logs to see what's wrong. To see the logs, uncomment the three lines here (127-129) and comment out 131-132, which will enable logging to file system (log file path mentioned here).

What do you enter in the family field on the app? Do you leave it blank?

It does work on the angular application! It's on the app that it does not work

Family = Tenant name.

Leaving it blank will result in login to the host account in abp terms (the account that manages all tenants).

In piggy, host account have no special purpose yet. Only relying on tenant accounts.

Initial db setup includes setting up a host account and default Tenant account. Default tenant credentials can be found in the readme.

Okay so how can I link a new account to a tenant?

Because for now the only way I can login on the api (when I click on the green Authorize button) is if I leave the tenancy empty

And when I try to add my api the currencies do work anymore. Do you have an idea. The only different thing is I do not have https. Do you think it might be linked to that?

Regarding tenant/user management, go through the new doc here and see if that helps.

Regarding currencies,

  • Check whether currencies seeded properly during initial db setup. You can do this by checking the data on the database table.

  • Check backend logs.

@bill0alt