Azure-Samples / Azure-Samples/ms-identity-ciam-dotnet-tutorial

[iOS] Crash with MAUI Net 9 Preview

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
48
Forks
35
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> Run the MAUI Sample with .NET 9 Preview on MacOs and Select iOS Simulator iPhone 15 Pro

### Expected/desired behavior
> ClaimsView.xaml displayed with info

### OS and Version?
> macOS Sonoma (with VS Code)

### Versions
> Nugets versions in csproj





### Mention any other details that might be useful

I don't know if it's a maui issue or azure identity issue but the application crash on this code:
(MSALClientHelper.cs)

```
return await this.PublicClientApplication.AcquireTokenInteractive(scopes)
.WithParentActivityOrWindow(PlatformConfig.Instance.ParentWindow)
.ExecuteAsync()
.ConfigureAwait(false);
```

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.