CommunityToolkit / CommunityToolkit/Graph-Controls

Return SignedOut state after signin in UwpMsalProviderSample sample uwp application

未关闭
#187 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Area: Providers bug :bug:
主要语言
C#
星标
156
派生
38
PR 合并指标
30 天内没有已合并 PR

描述

## Describe the bug
A clear and concise description of what the bug is.

- [ ] Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

## Steps to Reproduce
Steps to reproduce the behavior:
1. Download & Go to 'UwpMsalProviderSample' application and restore nuget packages
2. Change your client id and scopes in app.xaml.cs file
3. Run the application and click Sign In button
4. Sign in window will open & add your credentials [See image 1]
5. Check NewState property value, it will be "SignedOut" [See image 2]

## Expected behavior
It should allowed user to sign in successfully after adding credentials in sign in window.

## Screenshots
![Image 1](https://user-images.githubusercontent.com/64262100/165447094-7498a48a-e972-4c66-8636-ad5715731bca.png)
![Image 2](https://user-images.githubusercontent.com/64262100/165447085-fcb2a279-575f-456d-a95f-0a2cf37d4c69.png)

## Environment

```
NuGet Package(s):
CommunityToolkit.Authentication - v-7.1.1
CommunityToolkit.Authentication.Msal - v-7.1.1
CommunityToolkit.Graph - v-7.1.1
CommunityToolkit.Graph.Uwp - v-7.1.1
Microsoft.NETCore.UniversalWindowsPlatform - v-6.2.12
Package Version(s):
CommunityToolkit.Authentication - v-7.1.1
CommunityToolkit.Authentication.Msal - v-7.1.1
CommunityToolkit.Graph - v-7.1.1
CommunityToolkit.Graph.Uwp - v-7.1.1
Microsoft.NETCore.UniversalWindowsPlatform - v-6.2.12

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [Yes] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [Yes] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio
- [ ] 2017 (version: )
- [ ] 2019 (version: )
- [ ] 2019 Preview (version: )
- [Yes] Community 2022 (17.1.5)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。