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

current_user not available during authorization #921

Closed
jraczak opened this issue Jul 9, 2017 · 0 comments
Closed

current_user not available during authorization #921

jraczak opened this issue Jul 9, 2017 · 0 comments

Comments

@jraczak
Copy link

jraczak commented Jul 9, 2017

I'm using Pundit to validate resource ownership for my API. I chased a bug down to the lack of access to current_user, which should be available via devise_token_auth. Project is here. mount_devise_token_auth_for 'User', at: 'auth' is set in routes. Any ideas why this call is not working properly?

@jraczak jraczak closed this as completed Jul 9, 2017
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

1 participant