asp.net mvc - AngularJS with web API authentication -
i have started learning angularjs , i'm trying create simple login system. of methods creating , storing cookie authorisation looked lot more complicated .net approach use first thought keep using method of authentication doing call api , keeping angular ui side free of that.
this option suggested in post here -
how handle authentication in angular js application
however when try implement authenticates fine, not save cookie. if access api again , try referencing cookie like,
formsauthentication.getauthcookie(username, createpersistentcookie);
it there nothing there.
is there simple way of retaining cookie in api not using?
here how can it, let include custom information auth cookie.
Comments
Post a Comment