@Override
	protected void calculateOauth2RedirectUrl(SwaggerUiConfigParameters swaggerUiConfigParameters, UriComponentsBuilder uriComponentsBuilder) {
		if (StringUtils.isBlank(swaggerUiConfig.getOauth2RedirectUrl()) || !swaggerUiConfigParameters.isValidUrl(swaggerUiConfig.getOauth2RedirectUrl())) {
			String webjarsPrefix = springDocConfigProperties.getWebjars().getPrefix();
			String additionalPath = DEFAULT_WEB_JARS_PREFIX_URL.equals(webjarsPrefix) ? "" : webjarsPrefix;
			swaggerUiConfigParameters.setOauth2RedirectUrl(
					uriComponentsBuilder
							.path(swaggerUiConfigParameters.getUiRootPath())
							.path(additionalPath)
							.path(getOauth2RedirectUrl())
							.build()
							.toString()
			);
		}
	}
Redirect to ui mono.

@param request  the request
@param response the response
@return the mono
springdoc-openapi-starter-webflux-ui/src/main/java/org/springdoc/webflux/ui/SwaggerWelcomeCommon.java