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
  • Brite
  • 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 - Status | 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 891 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 on 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 on 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 Offline
        luckowL Offline
        luckow
        translator
        wrote on 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 on
        • 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 on 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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          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