[Users] Help with supplying App Domain for OAuth2

Leon Fisk lfiskgr at gmail.com
Wed Mar 23 14:24:28 UTC 2022


On Wed, 23 Mar 2022 13:49:34 +0000
Rosemary Lockie via Users <users at lists.claws-mail.org> wrote:

>Hello,
>
>I have successfully configured OAuth2 for GMail in Claws Mail in TEST Mode.
>
>But I cannot Publish it, as it requires Verification.
>
>Verification requires that I supply an Application Home Page, Privacy Policy, Terms of
>Service, &c.
>
>I tried https://www.claws-mail.org/ but it says:
>
>[quote]
>When a domain is used on the consent screen or in an OAuth client's configuration, it
>must be pre-registered here. If your app needs to go through verification, please go to
>the Google Search Console to check if your domains are authorised.
>[endquote]
>
>Has anyone any suggestions as to what I should use please?

Hi Rosemary,

I haven't tried any of this yet but it seems I will need to do something
by May 30 eh? ;-) Here are some random posts I have kept that may
or may not help you figure this out. Messy but may give you some clues
on how to proceed...

===
Subject: Re: [Users] Question on Claws-mail with Outlook for
institutional  email From: Michael Rasmussen via Users
<users at lists.claws-mail.org> Date: Fri, 25 Feb 2022 18:08:07 +0100

On Fri, 25 Feb 2022 17:40:57 +0100
PierGianLuca <pglpm0 at gmail.com> wrote:

> 
> "The+application+'Claws+Mail'+asked+for+scope+'wl.imap'+that+doesn't+exist+on+the+resource"
> 
> I don't quite know how to interpret this.
>   
Paste the complete URL from the blank page to the field 'Authorization
code' and press the button 'Authorize'. Remember to not enter something
in the password field on the 'Basic' page as this is where the token is
entered after pressing the 'Authorize' button. User ID is your email
address. On the TLS page choose 'Use STARTTLS command to start
encrypted session' for both IMAP and Send (SMTP). On the advanced page
choose port 587 for the SMTP port.
===
Subject: Re: [Users] How to configure Gmail with OAuth2
From: Paul <paul at claws-mail.org>
Date: Fri, 4 Mar 2022 19:59:02 -0000

On Fri, 4 Mar 2022 20:24:07 +0100
Olivier Esser <olivier.esser at gmail.com> wrote: 

> In the Account reference, there is an OAuth2 option, I can even select
> "Google/Gmail" in the "OAuth2 email service provider". But I am unable to
> configure an account with Gmail. I am unsure what I have to put in the
> Client ID and Client secret field. Whatever I try, when I click on "Open
> default browser with request", I land on a page that  "Authorization
> error". Is there a simple way to make claws mail to work with Gmail? For
> now, I use the standard IMAP authentication but t will soon be removed by
> Google.  

FAQ: https://www.claws-mail.org/faq/index.php/Oauth2

with regards

Paul
===
Subject: Re: [Users] How to configure Gmail with OAuth2
From: Nikita Zlobin <nick87720z at gmail.com>
Date: Sat, 5 Mar 2022 02:37:11 +0500

In Fri, 4 Mar 2022 19:59:02 -0000
Paul <paul at claws-mail.org> wrote:

> On Fri, 4 Mar 2022 20:24:07 +0100
> Olivier Esser <olivier.esser at gmail.com> wrote: 
>   
 [...]  

Same problem. But I'm stuck at scopes step.

There's no "Gmail API" scope in the list to add.
If entering e.g. "Gmail API" to entry below scopes string, it says
"Gmail" and "API" are invalid.

Initially all scopes lists are empty, so there's nothing to select.
==
Err, apologising.
I was too slow until found, how to add more APIs
===
Subject: Re: [Users] How to configure Gmail with OAuth2
From: Olivier Esser <olivier.esser at gmail.com>
Date: Sat, 5 Mar 2022 19:56:12 +0100

On Fri, 4 Mar 2022 19:59:02 -0000
Paul <paul at claws-mail.org> wrote:

> On Fri, 4 Mar 2022 20:24:07 +0100
> Olivier Esser <olivier.esser at gmail.com> wrote: 
>   
 [...]  
> 
> FAQ: https://www.claws-mail.org/faq/index.php/Oauth2  


OK, thanks it works now. But a few things seems misleading in the FAQ.

I have left the project status as "testing" not "in production" (it
would make no sense for me, I am only a user, not the developer of
claws mail). I have added myself as a testing user and I have added
nothing under the "restricted scopes". It seems to work.

Olivier Esser
===
On Tue, 22 Mar 2022 10:20:42 -0500
"c. marlow" <claws at cwm030.com> wrote: 

> I just now sat down and went through the instructions on how to set up
> Gmail in Claws with OAuth and the help guide is missing some steps:
> 
> Under OAuth credentials
> 
> I had to click + CREATE CREDENTIALS and fill that out because I had
> nothing listed under  OAuth 2.0 Client IDs at first.
> 
> I also had to add my gmail address to the TESTING list.. Otherwise I
> got a 403 forbidden error when trying to authenticate the Authorization
> code.   

The FAQ is a wiki, please help other users by improving its content.

with regards

Paul
===


-- 
Leon
Claws 3.18.0, Debian


More information about the Users mailing list