Skip to content

Commit cf85a6c

Browse files
committed
Fix syncUserWithIdp
1 parent d5a3dad commit cf85a6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generators/dotnetcore/generator.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ export default class extends BaseApplicationGenerator {
4545
if (this.jhipsterConfig.jwtSecretKey === undefined) {
4646
this.jhipsterConfig.jwtSecretKey = createBase64Secret(this.options.reproducibleTests);
4747
}
48+
if(this.jhipsterConfig.authenticationType === 'oauth2') {
49+
this.jhipsterConfig.syncUserWithIdp = true;
50+
}
4851
},
4952
});
5053
}

0 commit comments

Comments
 (0)