postiz-app icon indicating copy to clipboard operation
postiz-app copied to clipboard

Add links to home page

Open JamesA4E opened this issue 6 months ago • 1 comments

🔖 Feature description

When completing the Google verification, you need to provide links to privacy policy. I submitted mine and had verification request stating

Your homepage https://postiz.company.com/ does not include a link to your privacy policy: https://otherdomain.co.uk/privacy

The ability to set two values in the .env for privacy policy and terms of service, which are then put on the Postiz homepage, would fix this.

🎤 Why is this feature needed ?

This will allow users to verify their apps with Google for the YouTube integration.

✌️ How do you aim to achieve this?

Add two hyperlinks to the standard homepage that read a value from the environment as to where to connect the links to.

if the environment is missing the links then dont populate the homepage with the links

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • [x] I checked and didn't find similar issue

Are you willing to submit PR?

None

JamesA4E avatar Jun 24 '25 07:06 JamesA4E

Got here by googling the same issue

@JamesA4E if you are using nginx to host your app, you can work around this by statically hosting the files, by adding this to your domain config:

    location /privacy {
        alias /location/of/privacy.html;
    }

    location /terms {
        alias /location/of/terms.html;
    }

hope it helps

j0lle avatar Jun 30 '25 20:06 j0lle

Sadly, I don't think this alone will pacify Google. The issue I have is

Your app has not met homepage requirements. Please resolve the following issues:

  • Your homepage does not include a link to your privacy policy. Make sure that your home page includes a link to your privacy policy.

They are looking to see the links on the homepage.

I have located the .tsx files required:

  • apps/frontend/src/components/auth/login.tsx
  • apps/frontend/src/components/auth/login.with.oidc.tsx

But I've not worked with Next.js (I'm guessing this is), so I have no experience with how to make changes. I have edited the files via nano in Docker, but the changes weren't reflected on the browser side.

JamesA4E avatar Jul 01 '25 13:07 JamesA4E

I second this. I noticed the problem to pass Pinterest verification process. I made Privacy Policy and Terms of Service through Nginx reverse proxy, but Pinterest still denied my application and didn't give me access to API. When asked, they explicitly said the reason for it was that policies are not accessible from homepage of the application. This way it is impossible to pass verification for some of the platforms the way it works right now. Links to ToS and PP should be available on the homepage, even when registration is disabled. That's just what they require.

Here is the e-mail with Pinterest's stance: Image

Krylan avatar Jul 31 '25 13:07 Krylan

  1. run
git clone https://github.com/gitroomhq/postiz-app.git
  1. cd postiz-app

  2. change the privacy policy and TOS links in apps/frontend/src/components/auth/register.tsx to yours

  3. install docker cli and login

  4. run

docker build -t hubusername/postiz:latest -f Dockerfile.dev .

to build the image directly. where 'hubusername' is your Docker Hub Username

  1. run
docker push hubusername/postiz:latest

to push the image to docker hub

  1. You can now use this custom container in your Coolify docker-compose file. Here's an example of how to reference it in your docker-compose.yml:
services:
  postiz:
    image: hubusername/postiz:latest
    # ... other configuration options

us3r0x0 avatar Aug 05 '25 23:08 us3r0x0

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Nov 04 '25 00:11 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Nov 11 '25 00:11 github-actions[bot]