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

Multiple OAuth2Clients - Cant Generate multiples ClientIds #5106

Open
moregola opened this issue Feb 13, 2025 · 0 comments
Open

Multiple OAuth2Clients - Cant Generate multiples ClientIds #5106

moregola opened this issue Feb 13, 2025 · 0 comments

Comments

@moregola
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant