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 able to use api with tokens #8

Open
mikeheft opened this issue Jul 15, 2019 · 0 comments
Open

Not able to use api with tokens #8

mikeheft opened this issue Jul 15, 2019 · 0 comments

Comments

@mikeheft
Copy link

mikeheft commented Jul 15, 2019

I'm able to authorize just fine with the gem. But then I use xeroizer to hit xero's api. I'm storing the token, secret token, and oauth_verifier in a model associated with the user.
But it's not recognizing my tokens when trying to use the api. I keep getting a 401 on any request. I've tried to use the xeroizer gem's methods to exchange request token for an access token, but get a 401 there as well.
Update: I think I see what's going on finally, lol. When I access the xeroizer's client #access_token attribute, I can see the access token/secret are the same as what I'm storing from the return from this gem. Just really not sure how to address this signature issue on my end :(

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