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
Because you did not specify which authentication type you want with
--auth
option. See the doc or runjhipster client --help
.So in your case, you should run:
jhipster client --auth=jwt
for JWT authentication or the one you want.