Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Chatwoot
  3. OAuth Issue: Incorrect client_id still used despite environment update

OAuth Issue: Incorrect client_id still used despite environment update

Scheduled Pinned Locked Moved Chatwoot
4 Posts 4 Posters 58 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ajax
    wrote last edited by
    #1

    Hi everyone,

    I'm facing a persistent issue with Google authentication on a self-hosted Chatwoot instance running on Cloudron.

    When I click on "Sign in with Google", the OAuth URL that's generated is still the following:

    https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=40481950185-vlajho97rkkpavs7f7tahn0c5j36e0d3.apps.googleusercontent.com&prompt=consent&redirect_uri=https%3A%2F%2Fchatwoot.yobbo.bakbit.com%2Fgoogle%2Fcallback&response_type=code&scope=email+profile+https%3A%2F%2Fmail.google.com%2F

    The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.
    I've saved the file and restarted both the services and the app multiple times — but the old ID is still being used.

    Is there some caching or compilation step I might be missing?
    Do I need to recompile Chatwoot or reload something beyond restarting the app?

    Thanks

    J 1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @ajax
      This could even be browser cache. Did you try this in a private window?

      luckowL 1 Reply Last reply
      1
      • jamesJ james

        Hello @ajax
        This could even be browser cache. Did you try this in a private window?

        luckowL Online
        luckowL Online
        luckow
        translator
        wrote last edited by
        #3

        @james IMHO the wrong category. This is #librechat. The question refers to Chatwoot.

        Pronouns: he/him | Primary language: German

        1 Reply Last reply
        2
        • nebulonN nebulon moved this topic from LibreChat
        • A ajax

          Hi everyone,

          I'm facing a persistent issue with Google authentication on a self-hosted Chatwoot instance running on Cloudron.

          When I click on "Sign in with Google", the OAuth URL that's generated is still the following:

          https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=40481950185-vlajho97rkkpavs7f7tahn0c5j36e0d3.apps.googleusercontent.com&prompt=consent&redirect_uri=https%3A%2F%2Fchatwoot.yobbo.bakbit.com%2Fgoogle%2Fcallback&response_type=code&scope=email+profile+https%3A%2F%2Fmail.google.com%2F

          The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.
          I've saved the file and restarted both the services and the app multiple times — but the old ID is still being used.

          Is there some caching or compilation step I might be missing?
          Do I need to recompile Chatwoot or reload something beyond restarting the app?

          Thanks

          J Offline
          J Offline
          joseph
          Staff
          wrote last edited by
          #4

          @ajax said in OAuth Issue: Incorrect client_id still used despite environment update:

          The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.

          Did you put the export keyword in front of the lines ? Like export GOOGLE_CLIENT_ID=xxx .

          You shouldn't have to do anything other than restarting .

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search