Re: Is OAuth2 authentication working?

Nasser Alkmim <[email protected]> Fri, 27 Mar 2026 06:57:37 +0100
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
David Rogers <[email protected]> writes:

> Nasser Alkmim <[email protected]> writes:
>
>> ...  So I tried in my init.el:     (setq gnus-secondary-select-methods
>> '((nnimap "outlook"                     (nnimap-address "outlook.office3=
65.com")
>> (nnimap-authenticator 'xoauth2))))=20
>
>
> What happens if you remove the ' from beside xoauth2 ?

I tried that as well.

In my authinfo file, I have an entry:

        machine outlook.office365.com login <user>@<domain> port imap

Then when trying to open the group, it asks for a password:

        IMAP password for <user>@<domain>@outlook:

after I enter my password, I get

        Opening nnimap server on outlook...failed: "NO" "AUTHENTICATE" "fai=
led."
        gnus-select-newsgroup: Couldn=E2=80=99t open server

Do you successfully use xoauth2.el?

--=20
Nasser Alkmim