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

ID-1307 swagger oauth #336

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resolvers += "artifactory-releases" at artifactory + "libs-release"

resolvers += "artifactory-snapshots" at artifactory + "libs-snapshot"

val workbenchLibV = "d2b30c4"
val workbenchLibV = "a6ad7dc"
val workbenchOauth2V = s"0.7-$workbenchLibV"

libraryDependencies ++= Seq(
Expand Down
13 changes: 8 additions & 5 deletions src/main/resources/swagger/agora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ info:
servers:
- url: /
security:
- authorization:
- openid
- authorization: []
paths:
/status:
get:
Expand Down Expand Up @@ -2469,6 +2468,10 @@ components:
example: 1
securitySchemes:
authorization:
type: openIdConnect
openIdConnectUrl: OPEN_ID_CONNECT_URL
x-tokenName: id_token
type: oauth2
x-tokenName: id_token
flows:
authorizationCode:
authorizationUrl: OAUTH_AUTHORIZATION_URL
scopes: {}
tokenUrl: OAUTH_TOKEN_URL
Loading