Open Bug 1849692 Opened 9 months ago Updated 16 days ago

Gmail OAuth2 email account setup NS_ERROR_ABORT: User canceled primary password entry

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: pakulindev, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Steps to reproduce:

Mac os
Thunderbird 115.1.1

Create new google email account, choose IMAP default configuration, in google oauth popup choose allow

Actual results:

Got error message in app:
"Unable to log in at server. Probably wrong configuration, username or password"

Error in console:

"NS_ERROR_ABORT: User canceled primary password entry 3 crypto-SDR.sys.mjs:87
encrypt resource://gre/modules/crypto-SDR.sys.mjs:87
_encryptLogin resource://gre/modules/storage-json.sys.mjs:825
addLogin resource://gre/modules/storage-json.sys.mjs:186
addLogin resource://gre/modules/LoginManager.sys.mjs:323
set refreshToken resource:///modules/OAuth2Module.jsm:152
set resource:///modules/OAuth2Module.jsm:96
requestAccessToken resource:///modules/OAuth2.jsm:335"

Also console contained warning at initialisation:
"While creating services from category 'app-startup', service for entry 'OS Integration', contract ID '@mozilla.org/messenger/osintegration;1' does not implement nsIObserver. "

Expected results:

New google email account created

Are you using the primary password, or some smart card?

(In reply to Magnus Melin [:mkmelin] from comment #1)

Are you using the primary password, or some smart card?

D, we rely on your information to make progress on your bug report. Please reply.

Flags: needinfo?(pakulindev)
Whiteboard: [closeme 2024-04-15]

(In reply to Wayne Mery (:wsmwk) from comment #2)

(In reply to Magnus Melin [:mkmelin] from comment #1)

Are you using the primary password, or some smart card?

D, we rely on your information to make progress on your bug report. Please reply.

Similar behavior with non-Google email account trying to be setup within Microsoft Remote Desktop Version 10.9.7 (2192) (beta) and Version 10.9.6 (2188).

No primary password on account. No smartcard. Account sets up fine in MacOS 14.3 with Thunderbird 115.9.0 - just not within Remote Desktop.
Thunderbird version on Remote Desktop is 115.8.1

(In reply to Wayne Mery (:wsmwk) from comment #2)

(In reply to Magnus Melin [:mkmelin] from comment #1)

Are you using the primary password, or some smart card?

D, we rely on your information to make progress on your bug report. Please reply.

Sorry it was 7 months ago )
No card. Tried to create gmail account. As Google switched to their oauth window so username/password entry happens solely within their form

Flags: needinfo?(pakulindev)
Whiteboard: [closeme 2024-04-15]
You need to log in before you can comment on or make changes to this bug.