gotoOla
02/22/2021, 1:13 PM`fun springSecurityFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain? =
        http.csrf().disable().authorizeExchange()
            .anyExchange().permitAll()
            .and()
            .oauth2Client()
            .and()
            .oauth2ResourceServer { it.opaqueToken(withDefaults()) }
            .build()kqr
02/23/2021, 7:30 AM