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!

2 Answers 2

3

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

githubjeka/angular-yii2

And you should check this too.

guide-rest-authentication

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.