You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1356.
Definitely still needs work (should only try the initOAuth if an OAuth
based security scheme is actually present, but it gets the idea across.
Unfortunately, at least using the default Swagger Authentication system,
I don't think I can do what I wanted where one, in the auth button,
could have a login that would automatically work and pass the additional
required query parameter. The SwaggerUI code simply doesn't do anything
with extension values provided in the scheme.
However, that really only affects the SwaggerUI not usages of the
application itself. So I'm inclined not to worry about it and will strip
of some of the extra elements I added to the code.
Good news is, does pre-populate the client id, and the login flow
behaves correctly; I was redirected to the local docker-compose keycloak
and saw the kc_idp_hint field on the request so in environment should
behave the same.
0 commit comments