.env for the server url?
I get this error:
index-_weD9yLX.js:990 Mixed Content: The page at 'https://mydomain.pt/' was loaded over HTTPS, but requested an insecure resource 'http://192.168.1.157:3000/graphql'. This request has been blocked; the content must be served over HTTPS.
But I already changed the envs for https://mydomain.pt why is it trying to connect with http://192.168.1.157 ?
28 Replies
Did you also change the backendurl(REACT_APP_SERVER_BASE_URL) in the frontend env?
Yeah that was it!
Should have been in the docs....
Its actually in the docs π https://twenty.com/developers/section/self-hosting/self-hosting-var
My bad! I tought the frontend was depecrated and now it was just the server xD
Can u help with another thing, was envs do I need to set up calendar ?
I'm using:
MESSAGING_PROVIDER_GMAIL_ENABLED true
CALENDAR_PROVIDER_GOOGLE_ENABLED true
AUTH_GOOGLE_APIS_CALLBACK_URL https://mydomain.pt/auth/google-apis/get-access-token
Do you have a running worker?
Twenty offers integrations with Gmail and Google Calendar. To enable these features, you need to connect to register the following recurring jobs:
from your worker container
yarn command:prod cron:messaging:messages-import
yarn command:prod cron:messaging:message-list-fetch
I ran this comands on my worker pod
after or before connecting my google account ? whats best?
they are recurrent jobs so after connecting i think
maybe I'm running them in the wrong folder?
a bunch of green line xD looks good I would assume
looks ok
still
I managed to choose my google account and connect ok trough the google auth screen
But this seems more like a google permission problem
oh
but after login I authorized calendar and all that
that it asked
My guess would be there is something missing - but im not that familiar with Google cloud settings ...
maybe this ?
yes i think this is the one needed
This is for sure a thing where the docs could be a bit more specific π
True! But I understand, still a lot of work and its all free and awesome
enabled google calendar api
and gmail
still nothing
Maybe people or contacts?
oh theres a thing called scopes
wich u give permisions for your auth app
I think this might be it
do the scopes include something for calendars ?
but still the same
maybe waiting a bit to update
could take a moment
Thanks Brendan! Hi @windarrow_, has this solved your issue?
Hello! Yes it's been working fine so far
great!