A
A
TTwenty
Created by A on 5/18/2024 in #❓︱help
Error 404: redirect_uri_mismatch - Google Auth
Sometimes when logging in, an error is thrown stating the following: This is depsite, as shown attached, the following redirect URLs being specified (is there any documentation on this as I have not found anything clear)?....
Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: response_type=code redirect_uri=http://localhost:3000/auth/google/redirect state={} prompt=select_account client_id=180645751<redacted>.apps.googleusercontent.com access_type=online scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid
Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: response_type=code redirect_uri=http://localhost:3000/auth/google/redirect state={} prompt=select_account client_id=180645751<redacted>.apps.googleusercontent.com access_type=online scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid
In Docker Compose, I have set
IS_SIGN_UP_DISABLED: ${IS_SIGN_UP_DISABLED}
MESSAGING_PROVIDER_GMAIL_ENABLED: ${MESSAGING_PROVIDER_GMAIL_ENABLED}
CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE_ENABLED}
AUTH_GOOGLE_APIS_CALLBACK_URL: ${AUTH_GOOGLE_APIS_CALLBACK_URL}
AUTH_GOOGLE_ENABLED: ${AUTH_GOOGLE_ENABLED}
AUTH_GOOGLE_CLIENT_ID: ${AUTH_GOOGLE_CLIENT_ID}
AUTH_GOOGLE_CLIENT_SECRET: ${AUTH_GOOGLE_CLIENT_SECRET}
AUTH_GOOGLE_CALLBACK_URL: ${AUTH_GOOGLE_CALLBACK_URL}
SIGN_IN_PREFILLED: ${SIGN_IN_PREFILLED}
IS_SIGN_UP_DISABLED: ${IS_SIGN_UP_DISABLED}
MESSAGING_PROVIDER_GMAIL_ENABLED: ${MESSAGING_PROVIDER_GMAIL_ENABLED}
CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE_ENABLED}
AUTH_GOOGLE_APIS_CALLBACK_URL: ${AUTH_GOOGLE_APIS_CALLBACK_URL}
AUTH_GOOGLE_ENABLED: ${AUTH_GOOGLE_ENABLED}
AUTH_GOOGLE_CLIENT_ID: ${AUTH_GOOGLE_CLIENT_ID}
AUTH_GOOGLE_CLIENT_SECRET: ${AUTH_GOOGLE_CLIENT_SECRET}
AUTH_GOOGLE_CALLBACK_URL: ${AUTH_GOOGLE_CALLBACK_URL}
SIGN_IN_PREFILLED: ${SIGN_IN_PREFILLED}
6 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Understanding the Worker Process?
There have been mentions of the worker process and how this is needed to process tasks I presume in Redis or the alternative postgres extension. How can this Worker process be setup and what environment variables are required for it? - There have been mentions of an alternative init command to start the worker node but what environment variables does it require? Attempting to use a docker-compose file When attempting to use the Gmail integration - it is stuck on pending which I guess is that a worker is not processing the output?
server-1 | [Nest] 1 - 05/18/2024, 11:48:54 AM LOG [GmailFullSyncJob] gmail full-sync for workspace c45a04be-e864-4249-9adc-c1fb0984987f and account 2c098ee5-5a86-45e7-a405-bda0ac12fc73
server-1 | [Nest] 1 - 05/18/2024, 11:48:55 AM LOG [GmailFullSyncService] Fetched all 18 message ids from Gmail for messageChannel 977421b4-946f-4b6d-8de3-199b1a0aad20 in workspace c45a04be-e864-4249-9adc-c1fb0984987f and added to cache for import
server-1 | [Nest] 1 - 05/18/2024, 11:48:55 AM LOG [GmailFullSyncService] Updating last external id: 11480 for workspace c45a04be-e864-4249-9adc-c1fb0984987f and account 977421b4-946f-4b6d-8de3-199b1a0aad20 succeeded.
server-1 | [Nest] 1 - 05/18/2024, 11:48:54 AM LOG [GmailFullSyncJob] gmail full-sync for workspace c45a04be-e864-4249-9adc-c1fb0984987f and account 2c098ee5-5a86-45e7-a405-bda0ac12fc73
server-1 | [Nest] 1 - 05/18/2024, 11:48:55 AM LOG [GmailFullSyncService] Fetched all 18 message ids from Gmail for messageChannel 977421b4-946f-4b6d-8de3-199b1a0aad20 in workspace c45a04be-e864-4249-9adc-c1fb0984987f and added to cache for import
server-1 | [Nest] 1 - 05/18/2024, 11:48:55 AM LOG [GmailFullSyncService] Updating last external id: 11480 for workspace c45a04be-e864-4249-9adc-c1fb0984987f and account 977421b4-946f-4b6d-8de3-199b1a0aad20 succeeded.
8 replies