Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ApplicationBuilder] must not create Window until it ensures that the host started #2381

Open
xperiandri opened this issue Jun 21, 2024 · 1 comment · May be fixed by #2397
Open

[ApplicationBuilder] must not create Window until it ensures that the host started #2381

xperiandri opened this issue Jun 21, 2024 · 1 comment · May be fixed by #2397
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@xperiandri
Copy link

xperiandri commented Jun 21, 2024

What would you like to be added:

Trying to use OpenIddict Client it inserts a special IHostedService that extracts protocol activation, redirects activation and stops the application.
This means until host initialization is completed Windows must not be created as initialization can probably fail or be terminated.

Now a Window always opens and closes after some period of time if that OpenIddict Client hosted service extracts activation.

Why is this needed:

To prevent Windows creation in unnecessary situations.

For which Platform:

  • Windows
  • Desktop

Related:

#2220

@xperiandri xperiandri added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Jun 21, 2024
@xperiandri
Copy link
Author

You can try repro code in https://github.com/xperiandri/openiddict-core/tree/uno
Project OpenIddict.Sandbox.Uno.Client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
1 participant