diff --git a/src/main/kotlin/entry/dsm/gitauth/equusgithubauth/global/config/CorsConfig.kt b/src/main/kotlin/entry/dsm/gitauth/equusgithubauth/global/config/CorsConfig.kt index fec47cb..f67a624 100644 --- a/src/main/kotlin/entry/dsm/gitauth/equusgithubauth/global/config/CorsConfig.kt +++ b/src/main/kotlin/entry/dsm/gitauth/equusgithubauth/global/config/CorsConfig.kt @@ -11,10 +11,10 @@ class CorsConfig { @Bean fun corsConfigurationSource(): CorsConfigurationSource { val configuration = CorsConfiguration() - configuration.allowedOrigins = listOf("http://localhost:5173") + configuration.allowedOrigins = listOf("*") configuration.allowedMethods = listOf("GET", "POST", "PUT", "DELETE", "OPTIONS") configuration.allowedHeaders = listOf("*") - configuration.allowCredentials = true + configuration.allowCredentials = false val source = UrlBasedCorsConfigurationSource() source.registerCorsConfiguration("/**", configuration)