Ticket: CORS Issue Blocking Signup on Local Installation
@mimo Just created a ticket
Question: Can't signup account on local installation
Attempted: Google Sign in: Access to fetch at 'https://postiz.homenet.lan/api/auth/oauth/GOOGLE' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Using Email: Access to fetch at 'https://postiz.homenet.lan/api/auth/register' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Working On: Register account to try demo version
Using Postiz On: Docker compose
Take it from here @Postiz
Question: Can't signup account on local installation
Attempted: Google Sign in: Access to fetch at 'https://postiz.homenet.lan/api/auth/oauth/GOOGLE' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Using Email: Access to fetch at 'https://postiz.homenet.lan/api/auth/register' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Working On: Register account to try demo version
Using Postiz On: Docker compose
Take it from here @Postiz
3 Replies
@Postiz please help @mimo
maybe try adding the ALLOWED_ORIGINS parameter in the base postiz service?
and also add the youtube ids for google integration btw
make sure roll the access keys kinda exposed urs here 😶🌫️