diff --git a/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java b/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java index 8f9e349a4..8fb0fdb92 100644 --- a/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java +++ b/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java @@ -217,7 +217,7 @@ public Map getConfigParameters() { SpringDocPropertiesUtils.put("tagsSorter", tagsSorter, params); if (!CollectionUtils.isEmpty(supportedSubmitMethods)) SpringDocPropertiesUtils.put("supportedSubmitMethods", supportedSubmitMethods.toString(), params); - SpringDocPropertiesUtils.put("oauth2RedirectUrl", oauth2RedirectUrl, params); + SpringDocPropertiesUtils.put(OAUTH2_REDIRECT_URL_PROPERTY, oauth2RedirectUrl, params); SpringDocPropertiesUtils.put("url", url, params); put(URLS_PROPERTY, urls, params); SpringDocPropertiesUtils.put("urls.primaryName", urlsPrimaryName, params);