Jhipster generator skip auth code at --skip-server

余生颓废 提交于 2019-12-11 06:15:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!