Skip to content

Commit ff8a02b

Browse files
committed
Add email field in social principal creation
1 parent 439e8f3 commit ff8a02b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

hot-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>be.solidx.hot</groupId>
55
<artifactId>hot</artifactId>
6-
<version>0.9.25-SNAPSHOT</version>
6+
<version>0.9.26-SNAPSHOT</version>
77
<packaging>jar</packaging>
88

99
<name>hot-cli</name>

hot-framework/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>be.solidx.hot</groupId>
66
<artifactId>hot-framework</artifactId>
7-
<version>0.9.25-SNAPSHOT</version>
7+
<version>0.9.26-SNAPSHOT</version>
88
<packaging>jar</packaging>
99

1010
<name>hot-framework</name>

hot-framework/src/main/java/be/solidx/hot/shows/RestRequestBuilderFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ public WithBody authenticate(Authentication authentication) {
213213
ConnectionData connectionData = socialAuthenticationToken.getConnection().createData();
214214
userAsMap.put("name", socialAuthenticationToken.getName());
215215
userAsMap.put("username", socialAuthenticationToken.getName());
216+
userAsMap.put("email", socialAuthenticationToken.getName());
216217
userAsMap.put("accessToken", connectionData.getAccessToken());
217218
userAsMap.put("picture", connectionData.getImageUrl());
218219
userAsMap.put("link", connectionData.getProfileUrl());

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>be.solidx.hot</groupId>
66
<artifactId>hot-parent</artifactId>
7-
<version>0.9.25-SNAPSHOT</version>
7+
<version>0.9.26-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

1010
<name>hot</name>

0 commit comments

Comments
 (0)