I have Multiple companies on my Invoice Ninja, and I’ve activated the client portal for each one.
It generated individual Links to each client portal, However, the links just show a 404 - Not Found page.
How can I access the individual Client portal for each company?
hillel
July 28, 2022, 7:05pm
2
Hi,
Can you confirm the APP_URL value is correct in the ,env file, maybe you need to add /public?
yes, thats correct.
If I go to portal.example.com/client it shows the original client portal.
but if i go to portal.example.com/client/login/9CIVuOPtpZwf4v6kxUe7DRxeMhnu3fuH then it shows the invoice ninja 404 - Not Found screen
and I keep getting this error when I try to add a credit card to a client, Idk if it’s related.
E_WC_14: Accept.js encryption failed.
hillel
July 28, 2022, 7:33pm
5
@david do you have any thoughts?
david
July 28, 2022, 11:35pm
6
accept.js means you are probably accessing the site over http:// instead of https://
i think the format you need for the login for difference companies is
portal.example.com/client/login?company_key=9CIVuOPtpZwf4v6kxUe7DRxeMhnu3fuH
hillel
July 29, 2022, 4:32am
7
@david I changed the login link in the AP to match the register link, is it possible to support this format on the backend?
@david hey, so I tried that. But it didn’t work. Still shows the original client portal.
david
July 29, 2022, 4:56am
9
@SecureCPU
I’ve checked in a change for the next release which will support client/login/xxxxxxxxxxx
1 Like
Awesome! Thank you so much!
@david So after the v5.5.5-C88 update, the links for the client portal work, But they don’t show the individual client portal, they just show the client portal of the main company.
david
August 4, 2022, 7:11am
12
@SecureCPU
Fix for this is in the next release.
@david
Awesome! thank you so much!!