I am making a ionic app using angularjs and and I’d like to login the user to a third-party API. The API login system is based o cookies (basically the app post on /login the credentials, and the xml response contains an entry cookie which contains the cookie that should be sent when needed to be logged in). I got the cookie, now, how do I send it?
Hi, you don’t use the standard cookie angularjs, but use angular-cookie (https://github.com/ivpusic/angular-cookie) because the native implementation have a problem with domain/directory.