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

Adapt to changes for devise_token_auth 0.1.43 #42

Open
hector opened this issue Mar 21, 2018 · 0 comments
Open

Adapt to changes for devise_token_auth 0.1.43 #42

hector opened this issue Mar 21, 2018 · 0 comments

Comments

@hector
Copy link

hector commented Mar 21, 2018

With the upgrade of devise_token_auth from 0.1.42 to 0.1.43 request do not return an auth_token header if in batch mode, as explained in this issue:
lynndylanhurley/devise_token_auth#702

Since the upgrade of devise_auth_token, j-toker stopped working for me on some requests.
Shouldn't j-toker avoid saving the auth_token header when it is empty, i.e. it is ""?
Maybe it should change around this line:

newHeaders[key] = xhr.getResponseHeader(key);

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