Skip to content

Allow Downstream API calls to be used outside of ASP.NET Core Hosting environment [Feature Request]  #2371

@MZOLN

Description

@MZOLN

Is your feature request related to a problem? Please describe.
When calling downstream api from a console application allowed schemes are not fetched properly. This is because IAuthenticationSchemeProvider is not registered and aspnet core ITokenAcquisitionHost is used by default.

Describe the solution you'd like
Ability to inject ITokenAcquisitionHost but I would ideally like idweb to not be dependent on asp.net core dlls, but anything to make it work would suffice.

Describe alternatives you've considered
Taking dependency on asp.net core myself and registering the type.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions