Skip to content

Commit eb2e34e

Browse files
fix: Update OAuth2GroupsSecurity security scheme to use constants for URLs
Signed-off-by: matiasperrone-exo <matias.perrone@exomindset.co>
1 parent b74546f commit eb2e34e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Swagger/Security/OAuth2StreamChatSSOApiControllerSecuritySchema.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
flows: [
1313
new OA\Flow(
1414
flow: 'authorizationCode',
15-
authorizationUrl: '/oauth2/auth',
16-
tokenUrl: '/oauth2/token',
15+
authorizationUrl: L5_SWAGGER_CONST_AUTH_URL,
16+
tokenUrl: L5_SWAGGER_CONST_TOKEN_URL,
1717
scopes: [IUserScopes::SSO => 'Single Sign-On access']
1818
),
1919
]
2020
)]
2121
class OAuth2StreamChatSSOApiControllerSecuritySchema
2222
{
23-
}
23+
}

0 commit comments

Comments
 (0)