Follow

TIL: if you want a spring-boot cli app that uses an Oauth2 client, spring-boot will *not* autoconfigure it for you. autoconf is conditional on @EnableWebSecurity (depends on javax.servlet.Filter on cp) and thus the whole thing being a webapp.
package org.springframework.boot.autoconfigure.security.oauth2.client.servlet contains handy bean configs to copy over tho.

Sign in to participate in the conversation
Toot.ThoughtWorks

A Mastodon instance running on ThoughtWorks infrastructure for its employees to interact with the Fediverse.