Skip to content

Question: OpenApiOAuthFlows configuration options #168

Open
@Skovvart

Description

@Skovvart

I am in the process of trying to configure an OpenApiOAuthFlows (for oauth clientcredentials) and was hoping to be able to access configuration (or maybe even other services), but it does not seem to be supported through constructor injection or in any alternative approaches. The error from attempting constructor injection is simply No parameterless constructor defined for type.

Is there an approach I am missing, is dependency injection planned, or is there a recommended workaround? (I am guessing reading environment variables directly is a somewhat reasonably approach, if not as nice or flexible as IConfiguration)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions