Cannot login when SAML is used
I am using Nextcloud v22.1.0 along with the SSO & SAML authentication v4.1.1 plugin which allows me to use SAML authorization through the Azure AD application. In my configuration, I use the "emailaddress" field as the UID. Basically the problem looks like this: after successful authorization in the login window I see a white screen in the application and in the NC logs are these requests with a status of 401
172.18.0.2 - my%40s0ck3t.xyz [29/Aug/2021:20:18:07 +0000] "GET /index.php/apps/deck/api/v1.0/boards HTTP/1.0" 401 998 "-" "Nextcloud%20Deck/23 CFNetwork/1240.0.4 Darwin/20.6.0"
As you can see from the logs, in the application my login comes in as my%40s0ck3t.xyz instead of my@s0ck3t.xyz, which leads to a 401 error.
I also tried the application with a local user (ID just with letters) on my NC installation and there were no problems.