Skip to content

Commit

Permalink
Merge pull request #368 from catenax-ng/feat/add_credential_flow_to_s…
Browse files Browse the repository at this point in the history
…wagger

feat: Added Client Credentials Flow to Swagger and Updated Role Configuration
  • Loading branch information
nicoprow authored Aug 1, 2023
2 parents 9fc32aa + 4a712b8 commit a00587e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class OpenApiConfig(
.tokenUrl(securityProperties.tokenUrl)
.refreshUrl(securityProperties.refreshUrl)
.scopes(Scopes())
).clientCredentials(
OAuthFlow().tokenUrl(securityProperties.tokenUrl)
)
)
)
Expand Down

0 comments on commit a00587e

Please sign in to comment.