diff --git a/oidc/src/main/java/de/bstly/we/oidc/businesslogic/model/OidcTokenResponse.java b/oidc/src/main/java/de/bstly/we/oidc/businesslogic/model/OidcTokenResponse.java
index 788ae76..ecbf31f 100644
--- a/oidc/src/main/java/de/bstly/we/oidc/businesslogic/model/OidcTokenResponse.java
+++ b/oidc/src/main/java/de/bstly/we/oidc/businesslogic/model/OidcTokenResponse.java
@@ -3,9 +3,12 @@
*/
package de.bstly.we.oidc.businesslogic.model;
+import com.fasterxml.jackson.annotation.JsonInclude;
+
/**
* The Class OidcTokenResponse.
*/
+@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class OidcTokenResponse {
private String access_token;
@@ -56,7 +59,7 @@ public class OidcTokenResponse {
* @return the refresh token
*/
public String getRefresh_token() {
- return refresh_token != null ? refresh_token : "";
+ return refresh_token;
}
/**
diff --git a/pom.xml b/pom.xml
index da01861..e7a3c36 100755
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
17
5.0.0
9.37.3
- 3.0.8-SNAPSHOT
+ 3.0.9-SNAPSHOT