Login with angular 4

Asked

Viewed 4,806 times

2

I am learning angular4, and would like to know a way to login with the same. I can already get the backend data, but how do I set up the session? (I came from php, there was only use).

I saw something about storing a token in localstorage, but that would be there forever, no?

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.