[GH-ISSUE #363] [BUG] Fails to authenticate with accentuated char in password #1247

Closed
opened 2026-03-14 00:45:59 +03:00 by kerem · 5 comments
Owner

Originally created by @loxK on GitHub (Jul 1, 2022).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/363

When the user's password contains an accentuated character (verified with char ù), it fails to authenticate :

image

Originally created by @loxK on GitHub (Jul 1, 2022). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/363 When the user's password contains an accentuated character (verified with char `ù`), it fails to authenticate : ![image](https://user-images.githubusercontent.com/136687/176811667-0ed9d7cb-4101-4f39-9f32-230e027e02f6.png)
kerem closed this issue 2026-03-14 00:46:04 +03:00
Author
Owner

@aluxnimm commented on GitHub (Jul 4, 2022):

What network settings to you use in the sync profile advanced settings? Is Force Basic Auth activated, does it make any difference if you turn it off or use preemtive auth?

<!-- gh-comment-id:1173682459 --> @aluxnimm commented on GitHub (Jul 4, 2022): What network settings to you use in the sync profile advanced settings? Is Force Basic Auth activated, does it make any difference if you turn it off or use preemtive auth?
Author
Owner

@loxK commented on GitHub (Jul 4, 2022):

It works with Force Basic Auth activated.
preemtive auth doesn't change anything

So, there is a workaround (thks), but password without accentuated chars do work with default settings whereas any password should work.

(sorry, forgot to specify that is connecting to Nextcloud 24 from Outlook 2206 on Windows 10)

<!-- gh-comment-id:1173691895 --> @loxK commented on GitHub (Jul 4, 2022): It works with `Force Basic Auth` activated. `preemtive auth` doesn't change anything So, there is a workaround (thks), but password without accentuated chars do work with default settings whereas any password should work. (sorry, forgot to specify that is connecting to Nextcloud 24 from Outlook 2206 on Windows 10)
Author
Owner

@aluxnimm commented on GitHub (Jul 4, 2022):

When using force basic auth we manually write the authentication header and use base64 encoded data of the utf8 username and password fields, so that combination seems to work for special chars. Without that option we just use the default settings of the C# HttpClient and NetworkCredential classes, there is no way to change the Encoding there I guess, so I am not sure how to change the behaviour.

<!-- gh-comment-id:1174094587 --> @aluxnimm commented on GitHub (Jul 4, 2022): When using force basic auth we manually write the authentication header and use base64 encoded data of the utf8 username and password fields, so that combination seems to work for special chars. Without that option we just use the default settings of the C# HttpClient and NetworkCredential classes, there is no way to change the Encoding there I guess, so I am not sure how to change the behaviour.
Author
Owner

@loxK commented on GitHub (Jul 5, 2022):

Are the C# libs closed source ?

<!-- gh-comment-id:1174596726 --> @loxK commented on GitHub (Jul 5, 2022): Are the C# libs closed source ?
Author
Owner

@aluxnimm commented on GitHub (Feb 16, 2023):

Will change force basic authentication where we manually add the header in the correct encoding as default for new profiles in the next release to fix those issues.

<!-- gh-comment-id:1433000529 --> @aluxnimm commented on GitHub (Feb 16, 2023): Will change force basic authentication where we manually add the header in the correct encoding as default for new profiles in the next release to fix those issues.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#1247
No description provided.