Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stefanozanella/c7779ffdb018cee9d08503c17acb9cd4 to your computer and use it in GitHub Desktop.
Save stefanozanella/c7779ffdb018cee9d08503c17acb9cd4 to your computer and use it in GitHub Desktop.
@Bean
fun oauth2Configuration(http: HttpSecurity): SecurityFilterChain =
http
.oauth2Client()
// ...
.and().and()
.csrf().disable()
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment