Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQn9g-0005v7-Tv for pgadmin-hackers@arkaria.postgresql.org; Mon, 29 Mar 2021 08:21:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lQn9f-0005rl-Sp for pgadmin-hackers@arkaria.postgresql.org; Mon, 29 Mar 2021 08:21:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQXYg-0002YK-KK for pgadmin-hackers@lists.postgresql.org; Sun, 28 Mar 2021 15:42:34 +0000 Received: from mout01.posteo.de ([185.67.36.65]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQXYd-0000W8-Ip for pgadmin-hackers@postgresql.org; Sun, 28 Mar 2021 15:42:33 +0000 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7BD97160060 for ; Sun, 28 Mar 2021 17:42:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1616946147; bh=gupXARZQvl9HNkwpEg/Ye1Yj/GraMGW+f9Jf/ledwqA=; h=To:From:Subject:Date:From; b=Kx4GOjOaU0C28FoIkmn6evy6TMaAEI3A+XEtROckAhScHAi6+CuXec+ytrSF9SbZM uWWg0ubW9U2HccAMRL23f5zVNv9M/uorYM6g4eJxrMGCYEVMIifyES3peWUCAcT0Iu A5qSDC+rOYgny50d4NcZxGuT1MQZ0/aCxtxUBoMpG7Ukw0qTszC2HVJyUpCB2obP37 eghRi5G9Wr++oQKwVTStk/NPutNk+DjsZS4L9V+4Zgon1LuXpkjBq8Go9hmav/g64P cMmrBOIjLuCoQ84HaImR8i/WuIg+m/pivAWXzu+0QiPKH/MXWEHJZwQ/j1qX3Wb2rM rLyYRBA3swoMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F7g2B75C9z6tmM for ; Sun, 28 Mar 2021 17:42:26 +0200 (CEST) To: pgadmin-hackers@postgresql.org From: Florian Sabonchi Subject: OAuth error when logging in Message-ID: <382c1ae1-3ee9-8000-10ed-1a3fce390eac@posteo.de> Date: Sun, 28 Mar 2021 17:42:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello I would like to integrate OAuth in PG-Admin. Unfortunately I have the error that I am redirected back to the home page. Unfortunately I could not find this error, what surprises me is that current_user.is_authenticated is set to True. For this reason I just wanted to ask maybe someone knows what the problem is. You can find my source code here: https://github.com/FlorianJSa/pgadmin4/blob/OAuth2/web/pgadmin/authenticate/__init__.py I would be very happy if someone could help me with this problem. Because I unfortunately have no idea what this could be for an issue