CommunityToolkit / CommunityToolkit/Graph-Controls

Return SignedOut state after signin in UwpMsalProviderSample sample uwp application

Open
#187 1 comment 0 reactions 0 assignees View on GitHub
Area: Providers bug :bug:
Dominant language
C#
Stars
156
Forks
38
PR merge metrics
No merged PRs in 30d

Description

## 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)

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.