问题
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:
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.
来源:https://stackoverflow.com/questions/42720061/jhipster-generator-skip-auth-code-at-skip-server