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

Offen
#165 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
csharp
Bereich
authentication

Rechercherichtung

Beginne beim WindowsProvider-Authentifizierungsablauf und ermittle, wo der Fehler auftritt, wenn der App die Zuordnung zum Microsoft Store fehlt. Bestätige das bestehende Verhalten mit einer nicht zugeordneten App und sorge dann dafür, dass der Fehler erklärt, dass eine Store-Zuordnung erforderlich ist, und überprüfe, dass die Meldung in diesem Fall angezeigt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Area: Providers

Describe the problem this feature would solve

In order for the WindowsProvider to work, the app must be associated with the Microsoft Store. This is done through Visual Studio as described here (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.

Vorherrschende Sprache
C#
Sterne
156
Forks
37
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommunityToolkit/Graph-Controls

Alle Issues in CommunityToolkit/Graph-Controls

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.