How can I keep a session between frontend (angularjs) and backend (java or c #)?

I am developing a web application with angularjs in frontend and java or C # for the backend and I will be using REST communication.

I doubt: how can I have a session between frontend and backend? What tools show what I am using?

I found something about OAuth and J2EE container authentication, but are they the only options I have?

Is there a library or something that makes it work in a transparent way that "hides" the complexity that I don't need to manipulate the cookies?

Thanks in advance.

+3


source to share


1 answer


Session management and security implementation remain the same as for angular apps. If it's java I suggest using spring security. You have so many authentication options and you can secure your REST urls with a simple configuration.



0


source







All Articles