1

I have to integrate Angular on a existing app where we use Devise to do the authentication.

We have a user model linked to a profile model.

User model is used for authentication and its Profile model contains users parameters. We are trying to improve some pages linked to the authenticated user by using Angular.

How can I exchange the current user object between my rails app and my angular application? The app is pretty big and we can not allow ourselves to implement an authentication via angular.

Thanks for any lead

1 Answer 1

2

Have you tried this,

Angular Devise

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

1 Comment

Yes I did. I pushed a fresh rails template on git: [email protected]:folivi/rails4angular.git I get nill even when I signed in

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.