java - Integrate Authentication For Front End And Backend Generate Using Jhipster -


i'm configuring backend (in java) , frontend (in angularjs) jhipster.

i use own front end code in angularjs instead of code generated jhipster.

the problem is:

i authentication error after api call of end.
there way either disable authentication check in end or have add whole authentication process in front end?

according question, answer assume want disable authentication check rest.

to so, browse securityconfiguration.java

and change httpsecurity configuration.

change

.antmatchers("/api/**").authenticated(); 

to

.antmatchers("/api/**").permitall(); 

note: must use security rest backed server.


Comments