From a10e35cc15ea46151c1d262e6458dde355cbf24f Mon Sep 17 00:00:00 2001 From: Jan Zickermann <jan.zickermann@dataport.de> Date: Fri, 24 Jan 2025 15:37:30 +0100 Subject: [PATCH] OZG-4094 pom: Try out osvi2-postfach --- nachrichten-manager-server/pom.xml | 10 ++++++++++ .../src/main/resources/application.yaml | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 nachrichten-manager-server/src/main/resources/application.yaml diff --git a/nachrichten-manager-server/pom.xml b/nachrichten-manager-server/pom.xml index bc84ada..6aa11d0 100644 --- a/nachrichten-manager-server/pom.xml +++ b/nachrichten-manager-server/pom.xml @@ -173,6 +173,16 @@ <artifactId>grpc-client-spring-boot-starter</artifactId> </dependency> + <!-- oauth for osiv2-postfach --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-oauth2-client</artifactId> + </dependency> + <!-- commons --> <dependency> <groupId>org.apache.commons</groupId> diff --git a/nachrichten-manager-server/src/main/resources/application.yaml b/nachrichten-manager-server/src/main/resources/application.yaml new file mode 100644 index 0000000..ee8f0aa --- /dev/null +++ b/nachrichten-manager-server/src/main/resources/application.yaml @@ -0,0 +1,8 @@ +spring: + security: + oauth2: + client: + registration: + other: + provider: + other: \ No newline at end of file -- GitLab