working Spring Boot oauth2 connection to nextcloud oidc

This commit is contained in:
Jörg Henke
2023-12-20 10:43:21 +01:00
parent 4bb3efafb8
commit 04e1899150
17 changed files with 548 additions and 0 deletions

29
build.gradle Normal file
View File

@ -0,0 +1,29 @@
plugins {
id 'java'
id 'war'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'de.ship'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}