CommunityToolkit / CommunityToolkit/Graph-Controls

[Feature] WindowsProvider should display message if app is not Store associated

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

描述

## Describe the problem this feature would solve

In order for the [WindowsProvider](https://docs.microsoft.com/en-us/windows/communitytoolkit/graph/authentication/windows) to work, the app must be associated with the Microsoft Store. This is done through Visual Studio as described [here](https://docs.microsoft.com/en-us/windows/mixed-reality/distribute/submitting-an-app-to-the-microsoft-store#associate-app-with-the-store) (Ignore the fact that these are the MR docs. It works the same and I couldn't find any generic guidance for UWP.)

It's not always immediately obvious to a developer that they need to do this, which can lead to folks getting stuck, "Hey, why doesn't my app work?"

It's in the docs, but is easy to miss.

## Describe the solution

See if we can throw an exception with a descriptive message telling the developer to go do the Store association.,

## Describe alternatives you've considered

None

## Additional context & Screenshots

We currently don't do anything special if the Store association is missing. Auth will just fail without obvious cause.

贡献指南

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

调研方向

从 WindowsProvider 身份验证流程开始,确定应用缺少与 Microsoft Store 的关联时失败发生的位置。使用未关联的应用确认现有行为,然后让失败信息说明必须具备 Store 关联,并验证在这种情况下消息会显示。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
authentication
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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