在具有分离的前端和后端的jhipster中没有社交登录

时间:2017-09-14 18:07:35

标签: jhipster

我正在尝试使用分离的前端和后端的JHipster。我使用yo jhipster:server和以下配置生成了后端:

? (1/16) What is the base name of your application? myapp
? (2/16) What is your default Java package name? com.package
? (3/16) Do you want to use the JHipster Registry to configure, monitor and scale your application? No
? (4/16) Which *type* of authentication would you like to use? JWT authentication (stateless, with a token)
? (5/16) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
? (6/16) Which *production* database would you like to use? Microsoft SQL Server
? (7/16) Which *development* database would you like to use? H2 with disk-based persistence
? (8/16) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? (9/16) Would you like to use Maven or Gradle for building the backend? Maven
? (10/16) Which other technologies would you like to use? Social login (Google, Facebook, Twitter), API first development using swagger-codegen
? (11/16) Would you like to enable internationalization support? Yes
? Please choose the native language of the application Portuguese (Brazilian)
? Please choose additional languages to install English

由于我在生成应用程序时选择了社交登录选项,因此google和facebook登录的依赖关系位于我的pom.xml中,我已将client-idclient-secret添加到{{1} }}

我可以使用预先创建的用户登录:admin和user。但缺少社交登录。 也许有必要说当我创建一个没有从后端分离后端的应用程序时(只需运行jhipster),社交登录就可以了。

0 个答案:

没有答案