New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to change/edit client portal url and/or put client portal under different domain name #5079
Comments
Great suggestion. Here's my enthusiastic +1 !! I am curious if there might already be a way to write a virtual host config which points to the /client route. This may, of course, be impossible since this is not actually a folder which exists in the /public folder. However, there is a "routes" folder above the public folder . . . This might be worth playing with, but I would expect potentially significant security implications at least |
This is on the radar :) |
+10 :) |
+1 It will be nice if we can choose the client portal URL based on the company. For example> we have copmany1 and company2, I will like to set copmany1 to invoiceninja.com/company1 and copmany2 to inoviceninja.com/company2 |
Another +1 I would like to have something.example.com for the company and client.example.com for the clients. |
I believe this should be possible now, to test this, in the companies table of the database there are two columns to adjust
and
If this is confirmed as working, we'll make the necessary adjustments in the front and back end. |
@turbo124 I will today, where do I set the root to in nginx? /public or /public/client? |
@RonnyLam always /public We dont' support removing /client from the URL |
Hi @turbo124, I have made the change, put the client domain as a second host in nginx, but I keep getting a redirect to the main URL. Not sure if nginx or the application sends the redirect. |
@RonnyLam just to confirm, are the client portal links also redirecting? |
+1 I'm also interested in this. The optional domain URL doesn't seem to do anything in the current version to redirect to /client through the app. However, I did find a workaround that seems to work for Apache: RedirectMatch ^/$ /client |
Hello everyone, I see that in the Web App there's already a field where to put a portal-URL in. Is the feature already realized? However, it still seems that this makes no difference for the company or the customer sites. As said above only the URI is (clients.example.com/client) seems to be crucial whether the company's web app or the client's portal appears. Well, and I have to say, that I'm not yet familiar enough with Nginx to set up the proxy config file correctly. Maybe anyone from here has a hint? |
you can certainly customize the client portal domain, however rewriting the /client url to / is sometihng that i don't think is possible without major major changes. |
What version of Invoice Ninja are you running? ie v4.5 / v5
v5.1.16
What environment are you running?
ZIP
Have you searched existing issues/requests?
yes
Additional context
Since the client portal is essentially separate web app, it would be great to have the option within UI settings of configuring client portal at a different domain, i.e. I have my site at billing.example.com, client logs in at billing.example.com/client. But I don't want my company portal login domain exposed so I would rather put the flutter app under random-string.example.com and client under billing.example.com/client or /pay.
Once I can configure within the client portal app a domain name/url, it should be possible to point apache/nginx config for that domain name to to the client portal app's directory as that domain's web root.
The text was updated successfully, but these errors were encountered: