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

Not working with any version of Rails 6 and 7 #1551

Closed
tariqhussain07 opened this issue Aug 18, 2022 · 2 comments
Closed

Not working with any version of Rails 6 and 7 #1551

tariqhussain07 opened this issue Aug 18, 2022 · 2 comments

Comments

@tariqhussain07
Copy link

When posting issues, please include the following information to speed up the troubleshooting process:

  • Version: which version of this gem (and ng-token-auth, jToker or Angular2-Token if applicable) are you using?
  • Request and response headers: these can be found in the "Network" tab of your browser's web inspector.
  • Rails Stacktrace: this can be found in the log/development.log of your API.
  • Environmental Info: How is your application different from the reference implementation? This may include (but is not limited to) the following details:
@tariqhussain07
Copy link
Author

I have debug the issue and found issue with app/controllers/devise_token_auth/concerns/set_user_by_token.rb.
Headers are not set that needs to be sent in further api calls.

@tariqhussain07
Copy link
Author

Used create_and_assign_token method and its working now

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