Skip to content

Multiple OAuth2Clients - Cant Generate multiples ClientIds #5106

@moregola

Description

@moregola

Introduction: I´m trying to configure Swagger using NSwag, migrating from SwashBuckle.

So far, i had no problems with configuration but I found a problem when i tryed to configure 2 Oauthclients.

On the actual version the OpenApi document and SwaggerUI shows multiples Authentication Forms of any type.

Problem: But the data of the form is filled in SwaggerUISettings object, a NSwag.AspNetCore class.

(I know the second client replaced the first one, is just to illustrate the situation)

Image

This class only allow me to create 1 OAuth Client options and the bug is that repeat the client id and client secret for both

Some Evidences
Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions