public inbox for tools@linux.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: Mario Limonciello <superm1@gmail.com>
Cc: users@kernel.org, tools@linux.kernel.org
Subject: Re: Korgalore Office 365 redux
Date: Mon, 9 Feb 2026 15:50:38 -0500	[thread overview]
Message-ID: <20260209-grumpy-debonair-macaque-1ff616@lemur> (raw)
In-Reply-To: <CA+EcB1MR6VrwpbXc6eTOzvK5dN6R_n4DBQ7ZEvrPP890syKBww@mail.gmail.com>

On Fri, Feb 06, 2026 at 11:41:57AM -0600, Mario Limonciello wrote:
> But then when I go back to korgalore on the terminal I'm left with a
> sad message:
> 
>   File "/home/supermario/.local/share/pipx/venvs/korgalore/lib/python3.14/site-packages/requests/models.py",
> line 1026, in raise_for_status
>     raise HTTPError(http_error_msg, response=self)
> requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url:
> https://login.microsoftonline.com/<tenant>/oauth2/v2.0/token
> 
> Obviously I swapped out the tenant for <tenant> above.
> 
> Any thoughts here what could be wrong?  I'm using KGL in WSL and
> copy/pasting the auth URL into a browser outside WSL.

Man, I don't envy your work environment. :)

My guess from some poking at it would be that maybe their application is
configured as "Web" only instead of "Mobile and Desktop"? Docs say to try the
following:

    - Go to App registrations -> Authentication -> "Advanced settings"
    - Set "Allow public client flows" to Yes
    - Ensure the platform is "Mobile and desktop applications", not "Web"

Also, check that IMAP.AccessAsUser.All permissions are granted, but this would
throw a different error, probably.

Hopefully, just a bit more prodding is required to get it to work!

-- 
KR

      reply	other threads:[~2026-02-09 20:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-06 17:41 Korgalore Office 365 redux Mario Limonciello
2026-02-09 20:50 ` Konstantin Ryabitsev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260209-grumpy-debonair-macaque-1ff616@lemur \
    --to=konstantin@linuxfoundation.org \
    --cc=superm1@gmail.com \
    --cc=tools@linux.kernel.org \
    --cc=users@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox