1

I'm a building a simple PhoneGap app with Ionic framework and for the back-end I'm using Yii2.

The app is working cool, I'm making requests to get some data from the server and etc...

The problem is, I want to authenticate my users from a database and dont allow using the app without authentication, but the problem is that I'm pretty new to angular and the restfull thing.

I searched and read bunch of articles about authentication via rest api but I could not imagine how things fit together.

So can someone give me some good articles or tutorials which will guide me in this long road? :)

OR

Someone has a working example of authentication with tokens with yii2 and angularjs?

Thanks!

Fory
  • 405
  • 4
  • 12
Szántó Zoltán
  • 981
  • 1
  • 12
  • 26

2 Answers2

3

I can only give you some links,maybe it can help.

githubjeka/angular-yii2

And you should check this too.

guide-rest-authentication