-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No access_token through api when signing in by finding user. #1087
Comments
Solved this issue by generating my own headers. :/ |
Could you please post your solution? |
sure..! Here's the function.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I have a running ionic app that works perfectly when signing in through email and password by the user using this gem on my rails app.
In the app, i use native cordova facebook plugin to get the 'access-token' , then I pass it on to my users controller inside the api namespace. Use the koala gem to get the user details and search user by email address and sign them in.
Here is my users controller.
`class Api::V1::UsersController < Api::V1::BaseController
end
`
and here are my routes
` namespace :api do
end
`
the only things I receive in headers are
"{"content-type":["application/json; charset=utf-8"],"cache-control":["max-age=0"," private"," must-revalidate"]}"
Any better way of signing in ?
The text was updated successfully, but these errors were encountered: