Skip to main content

maui-authentication

Facilitates authentication in .NET MAUI apps using OAuth 2.0 and Microsoft Entra ID, supporting various platforms and social logins.

Install this skill

or
22/100

Security score

The maui-authentication skill was audited on Mar 1, 2026 and we found 20 security issues across 4 threat categories, including 3 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 257

Curl to non-GitHub URL

SourceSKILL.md
257curl -LO https://aka.ms/msidweb/aspire/entra-id-provisioning-skill
medium line 731

Curl to non-GitHub URL

SourceSKILL.md
731curl -LO https://aka.ms/msidweb/aspire/entra-id-code-skill
low line 263

Access to hidden dotfiles in home directory

SourceSKILL.md
263cp -R /tmp/msidweb/.github/skills/entra-id-aspire-provisioning ~/.claude/skills/
high line 155

Access to system keychain/keyring

SourceSKILL.md
155Store tokens securely using `SecureStorage` (Keychain on iOS, Keystore on Android):
medium line 354

Access to system keychain/keyring

SourceSKILL.md
354.WithIosKeychainSecurityGroup("com.microsoft.adalcache");
high line 534

Access to system keychain/keyring

SourceSKILL.md
534#### 2. Entitlements.plist — Keychain sharing (required for token cache)
medium line 537

Access to system keychain/keyring

SourceSKILL.md
537<key>keychain-access-groups</key>
high line 761

Access to system keychain/keyring

SourceSKILL.md
761- [ ] iOS: `Entitlements.plist` has keychain group `com.microsoft.adalcache`
low line 29

External URL reference

SourceSKILL.md
29Url = new Uri("https://your-server.com/auth/login"),
low line 185

External URL reference

SourceSKILL.md
185private const string AuthUrl = "https://your-server.com/auth/login";
low line 257

External URL reference

SourceSKILL.md
257curl -LO https://aka.ms/msidweb/aspire/entra-id-provisioning-skill
low line 272

External URL reference

SourceSKILL.md
2721. Go to [Microsoft Entra admin center](https://entra.microsoft.com) → App registrations → New registration
low line 279

External URL reference

SourceSKILL.md
279- Windows/macOS: `http://localhost`
low line 297

External URL reference

SourceSKILL.md
297"Authority": "https://login.microsoftonline.com/{TenantId}",
low line 312

External URL reference

SourceSKILL.md
312public const string Authority = $"https://login.microsoftonline.com/{TenantId}";
low line 362

External URL reference

SourceSKILL.md
362builder = builder.WithRedirectUri("http://localhost");
low line 469

External URL reference

SourceSKILL.md
469<manifest xmlns:android="http://schemas.android.com/apk/res/android">
low line 568

External URL reference

SourceSKILL.md
568No special platform setup. MSAL uses `http://localhost` redirect by default.
low line 620

External URL reference

SourceSKILL.md
620client.BaseAddress = new Uri("https://your-api.azurewebsites.net/");
low line 731

External URL reference

SourceSKILL.md
731curl -LO https://aka.ms/msidweb/aspire/entra-id-code-skill
Scanned on Mar 1, 2026
View Security Dashboard