microsoft / microsoft/WindowsAppSDK-Samples
In the experimental branch the OAuth2Manager.RequestAuthWithParamsAsync never returns
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 335
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 8
Description
Good folks at Microsoft,
I was playing around with the release/experimental branch and I was interested in the OAuth2Manager class which would, if it were working, solve some major issue for me
I have a running and working identity server with multiple production apps and I tried to make it work with OAuth2Manager. But the sample does let me login, but then after doing the part at the identity server the status never returns the claims to the running app.
When I roll my own code to capture the response of the identity server I do manage to get the claims, so I confirmed for myself that the problem isnt my identity server.
The code also never reaches the Debug.WriteLine line after OAuth2Manager.RequestAuthWithParamsAsync
I am running the sample with Windows 11 with VS2022
Kind regards,
Erwin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OAuth2Manager sample in the release/experimental branch and trace OAuth2Manager.RequestAuthWithParamsAsync through the identity-server callback. Reproduce the login flow on Windows 11, then inspect why execution does not reach the Debug.WriteLine after the call. Done means the sample returns the identity-server claims to the running app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authentication, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100