You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MsalAuthenticationProvider does not work on MacOS out of the box #3025
After creating a new Uno Cross Platform solution on MacOs using rider, adding MSAL authentication, and running the app, the app shows a login page
If we have added a ClientId and RedirectUri, the login button does nothing, and the console logs
fail: Uno.Extensions.Authentication.MSAL.MsalAuthenticationProvider[0]
SetupStorage - Error setting up storage for MSAL - Value cannot be null. (Parameter 'keyChainServiceName')
Trying to add keyChainServiceName into appsettings under the msal config section does not work
Trying to find any arguments in AddMsal relating to this settings returns nothing.
Expected behavior
The login button should work
How to reproduce it (as minimally and precisely as possible)
Use Rider on Macos, install the uno plugin, run the uno command line tool to set up the environment correctly until it says everything OK!
Create a new Solution using the Uno Cross Platform template, and enable MSAL authentication
Add a clientId, a RedirectUri, and a KeychainSecurityGroup to the appsettings.json
Run the project
Attempt to log in using the login button
Environment
Mac OS Tahoe 26.2
Rider 2025.3.2
Uno Plugin 1.9.12
.net 10
Nuget Package (s):
The default installed by the template
Package Version(s):
The default installed by the template
Affected platform(s):
iOS
macOS (AppKit)
Mac Catalyst
Android
WebAssembly
Windows
Skia (WPF)
Skia (GTK on Linux/macOS/Windows)
Skia (Linux Framebuffer)
Build tasks
Visual Studio:
2019 (version: )
2022 (version: )
Visual Studio Code (version: )
Rider Windows (version: )
Rider macOS (version: ) 2025.3.2
Relevant plugins:
Resharper (version: )
Anything else we need to know?
Tried googling this error with 0 results, tried arguing with an LLM about it for 30 minutes with 0 results
Activity
kazo0 commentedon Feb 10, 2026
Thanks for the report @Flimzes !
We are currently investigating getting proper desktop support for OIDC/MSAL providers for Windows/Linux/macOS: #2640
The keyChainServiceName error looks new, I will make sure we track this as part of the work!
Will keep you updated on the progress!
feat(msal): platform-correct sign-in, storage defaults and sign-out, …