Skip to content
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

Put Access Token in body #442

Closed
tibudiyanto opened this issue Nov 10, 2015 · 2 comments
Closed

Put Access Token in body #442

tibudiyanto opened this issue Nov 10, 2015 · 2 comments

Comments

@tibudiyanto
Copy link

Hey,

It is possible to put access-token in body?

Thanks

@ValentinTrinque
Copy link
Contributor

Why would you do that ?

I guess it has been done that way for several reasons:

  • keep the payload dedicated to your API actions
  • Access-Token is transaction related, just like any other field in the header

@booleanbetrayal
Copy link
Collaborator

I don't foresee devise_token_auth embedding authorization information in rendered views, as that's not how this mechanism works. =]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants