[ 
https://issues.apache.org/jira/browse/CXF-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15673724#comment-15673724
 ] 

Alexander K. commented on CXF-7137:
-----------------------------------

If I am not missing something, the idea is to authenticate an API with user 
based grants (also known as a password grant). The typical scenario includes a 
Login web page with username and password that is used to authenticate against 
a first-party API. The web server's secret still remains secret but it will use 
the authenticated user's token to proceed further.

> 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.
>
> 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.4#6332)

Reply via email to