RESTful API User Authentication with AngularJS

preview_player
Показать описание
In this tutorial I will show you everything you need to implement your own AngularJS User Authentication frontend.

Video Courses, Project Templates, Community & the Support you deserve to learn Ionic!

#############################

#############################

You can also find me

#############################
Рекомендации по теме
Комментарии
Автор

Your code is is really great for us, Thanks for your hard working and free service for us .Could you please make this tutorial for a pure AngularJS webapp instead of ionic. I am feeling difficulties to do that.

coolNotCold
Автор

Awesome. Big thanks for your excellent tutorial.

anandd
Автор

I want to thank you first. This tutorial is so helpful. I didn't understand one thing. What if we haven't token based auth at the backend can we still use LOCAL_TOKEN_KEY. Because the controller I use at the backend didn't create any token when login or register is succeed. Just returns sessions in headers as a Set-Cookie value.

oyilmaztekin
Автор

Thanks for wonderful tutorials, what packages you use for ATOM for auto complete and ionic code hints ?

ahmousavi
Автор

When we use angular with ionic best way. I used my app like this. So, how about security? Let's think about web applications. How could be secure?

aligoren
Автор

Super awesome Simon !
You helped me.
Thank you so much!

I want to ask you - what if I run this app on a device (say it - an android device), do I need to add proxy site ? or I have to remove "API_ENDPOINT" from all the files like controller.js services.js etc. ?
Basicaly How I make this app run on a device ??

apurvagupta
Автор

Greetings Simon! Excellent tutorial! i have a question can this take effect in a web based platform?

themistoklisbogiatzoglou
Автор

Hi, nice tutorial. What Sublime Text plugins are you using for AngularJS and Ionic?

Agressiviste
Автор

Where and how to add the Basic auth, could you please show.

premierde
Автор

I am not able to fetch any data from backend on promice it always goes to the console.log("error");
not even result.data.msg is coming from the backend. Can you send tell me where's the problem




var register = function(user) {
return $q(function(resolve, reject) {
$http.post(API_ENDPOINT.url + '/signup', user).then(function(result) {
if (result.data.success) {
resolve(result.data.msg);
console.log("success");
} else {
reject(result.data.msg);
console.log("error");
}
});
});
};

vibhakarkumar
Автор

Can u pls coonect it with mysql to signup and login?

musabbirimran
Автор

I can't destroy token :(.  Could you help me?

alfredometal
Автор

Hi, , , is this code available in share it

anantaprasadojha
Автор

Thank you bro,

But can you give me auth0 ?

khmerroad
visit shbcf.ru