[ https://issues.apache.org/jira/browse/CXF-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873760#comment-15873760 ]
Sergey Beryozkin commented on CXF-7137: --------------------------------------- Dennis, this issue was not really about letting the security features be reported via the Swagger JSON. I just added that code to help users register such features. What else CXF can do apart from registering them with the BeanConfig ? > Allow OAuth2 customization via Swagger2Feature > ---------------------------------------------- > > Key: CXF-7137 > URL: https://issues.apache.org/jira/browse/CXF-7137 > Project: CXF > Issue Type: Improvement > Components: JAX-RS > Affects Versions: 3.1.8 > Reporter: Alexander K. > Assignee: Sergey Beryozkin > Fix For: 3.2.0, 3.1.9 > > > It seems that there is no way to customize initOAuth() details like clientId, > clientSecret, realm, appName, etc. for SwaggerUI-OAuth integration. This will > allow Swagger-UI authorization for protected CXF REST services by an > authorization server such as Keycloak. -- This message was sent by Atlassian JIRA (v6.3.15#6346)