Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit f713d3c

Browse files
committed
Add SSL verification logging in UserService
- Introduced logging for SSL verification status in the UserService class. - This change helps in debugging SSL-related issues during user creation and retrieval operations.
1 parent f458a76 commit f713d3c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/com/corbado/services/UserService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public UserEntity create(@NonNull final UserCreateReq request) throws CorbadoSer
6565
request.getStatus(), "Required field 'UserCreateReq.status' in 'request' cannot be null");
6666

6767
try {
68+
System.err.println("IsVerifyingSSL: " + this.client.getApiClient().isVerifyingSsl());
6869
return new UserEntity(this.client.userCreate(request));
6970
} catch (final ApiException e) {
7071
throw new CorbadoServerException(e);
@@ -83,6 +84,7 @@ public UserEntity createActiveByName(@NonNull final String fullName)
8384

8485
final UserCreateReq request = new UserCreateReq().fullName(fullName).status(UserStatus.ACTIVE);
8586
try {
87+
System.err.println("IsVerifyingSSL: " + this.client.getApiClient().isVerifyingSsl());
8688
return new UserEntity(this.client.userCreate(request));
8789
} catch (final ApiException e) {
8890
throw new CorbadoServerException(e);
@@ -114,6 +116,7 @@ public void delete(@NonNull final String userId) throws CorbadoServerException {
114116
*/
115117
public UserEntity get(@NonNull final String userId) throws CorbadoServerException {
116118
try {
119+
System.err.println("IsVerifyingSSL: " + this.client.getApiClient().isVerifyingSsl());
117120
return new UserEntity(this.client.userGet(userId));
118121
} catch (final ApiException e) {
119122
throw new CorbadoServerException(e);

0 commit comments

Comments
 (0)