I have found series of good tutorials for auth.I have implemented them.And they almost perfectly good to go except one little problem.I have got the error in title.I have followed along with this Using Ember Simple Auth 1.0 with Devise so you can have an idea how the code looks like.In rails part not much going on.Added active_model_serializer and rack-cors.Configured a json_api.rb.That’s it.
It is actually able to post to proper url, but can’t proceed because of this error.Here are the repos so maybe it will give you guys a better idea about the problem.
Please help me solve this authentication problem.Auth has been bugging me for 3 week.