Skip to content

Commit 7cc184e

Browse files
committed
Fix core regression
Accidentally pushed some new OAuth2 code when creating this repository. Reverted.
1 parent 2fe245a commit 7cc184e

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "core/src/main/resources/frontend"]
22
path = core/src/main/resources/frontend
33
url = https://github.com/osable/frontend.git
4+
branch = release

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies {
1414
// Spring MVC
1515
implementation("org.springframework.boot:spring-boot-starter-web")
1616
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
17-
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
17+
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
1818

1919
implementation("org.springframework.boot:spring-boot-starter-webflux")
2020

core/src/main/kotlin/net/osable/core/GitHubReactiveOpaqueTokenIntrospector.kt

Lines changed: 0 additions & 14 deletions
This file was deleted.

core/src/main/kotlin/net/osable/core/SecurityConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SecurityConfiguration {
3131
}.csrf {
3232
// Configure CSRF token
3333
it.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
34-
}.oauth2ResourceServer()
34+
}.oauth2Client()
3535

3636
return http.build()
3737
}

0 commit comments

Comments
 (0)