nextcloud / nextcloud/mail

Mail accounts with domain @bildung.gv.at using outlook.com don't authenticate with xoauth2

Open
#8,916 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Attempt to add a new mail account with @bildung.gv.at domain
  2. Enter correct details
  3. IMAP and SMTP servers are correctly identified as outlook.office365.com and smtp.outlook.com
  4. Click "Connect".
Expected behavior

According to https://github.com/nextcloud/mail/pull/7722 there should be an option to authenticate via Microsoft.

Actual behavior

No popup is opened and there is no redirect to authenticate via Microsoft.

Error message: IMAP username or password is wrong

Mail app version

3.4.0

Mailserver or service

outlook.com

Operating system

Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database

MariaDB

Additional info

Email accounts using this domain are the official addresses used for education by teachers in Austria.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the authentication change described in nextcloud/mail#7722 and reproduce the connection flow for an @bildung.gv.at account using outlook.com. Trace why the Microsoft authentication popup or redirect is not reached, then verify that the account connects successfully with XOAUTH2 instead of reporting invalid credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.