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

change_headers_on_each_request not working expiry header empty #90

Closed
twelve34 opened this issue Dec 22, 2014 · 2 comments
Closed

change_headers_on_each_request not working expiry header empty #90

twelve34 opened this issue Dec 22, 2014 · 2 comments

Comments

@twelve34
Copy link

The expiry header is empty when enabling change_headers.
I used the environment: ruby 2.1.5p273 and found that the expiry header is not correct build based on the auth_header tokens var

user.rb:
def build_auth_header(token, client_id='default')
....
expiry = self.tokens[client_id]['expiry'].to_s

To solve the problem i change

expiry = self.tokens[client_id][:expiry].to_s

@lynndylanhurley
Copy link
Owner

@twelve34 - can you please check out version 0.1.31.beta7 and let me know if this is still an issue?

@twelve34
Copy link
Author

@lynndylanhurley thanks works fine 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

2 participants