Jhipster generator skip auth code at --skip-server

2019-07-29 05:55发布

Why when we generate project with '--skip-server'

yo jhipster --skip-server

part of authentication is lost. (on AJS/A2).It's right? Everytime i need to paste part code (AuthServerProvider on Angular or authExpiredInterceptor on AngularJS) for working home page

1条回答
The star\"
2楼-- · 2019-07-29 06:19

Because you did not specify which authentication type you want with --auth option. See the doc or run jhipster client --help.

So in your case, you should run: jhipster client --auth=jwt for JWT authentication or the one you want.

查看更多
登录 后发表回答