This is an automated email from the ASF dual-hosted git repository.

quantranhong1999 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 2c5c9bd4827e01fa9e473281e3aff18efa732a0d
Author: Quan Tran <[email protected]>
AuthorDate: Fri Jul 3 15:32:38 2026 +0700

    JAMES-4195 Correctly provide JMAPOidcConfiguration bean
---
 .../src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
 
b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
index 70bf033027..ec53c913a6 100644
--- 
a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
+++ 
b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
@@ -42,6 +42,12 @@ public class JMAPOidcModule extends AbstractModule {
         bind(TokenInfoResolver.class).to(OidcEndpointsInfoResolver.class);
     }
 
+    @Provides
+    @Singleton
+    JMAPOidcConfiguration provideJMAPOidcConfiguration(PropertiesProvider 
propertiesProvider) throws ConfigurationException, FileNotFoundException {
+        return JMAPOidcConfiguration.parseConfiguration(propertiesProvider);
+    }
+
     @Provides
     @Named("userInfo")
     URL provideUserInfoEndpoint(JMAPOidcConfiguration configuration) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to