Skip to content

[AGX-814] Fix bugs with token refresh and Oauth2 URL#52

Merged
njbbaer merged 4 commits intomasterfrom
AGX-814/fix-token-refresh
Apr 18, 2022
Merged

[AGX-814] Fix bugs with token refresh and Oauth2 URL#52
njbbaer merged 4 commits intomasterfrom
AGX-814/fix-token-refresh

Conversation

@njbbaer
Copy link
Copy Markdown
Contributor

@njbbaer njbbaer commented Apr 18, 2022

This PR contains two bug fixes for the Procore Ruby SDK:

Fix token refresh

When a token was automatically refreshed, the first request would fail. The token is now updated in memory so this will not occur.

Resolves issue: #51

Fix Oauth2 URL

The path fragment /oauth/token was incorrectly inserted into the host URL when the Oauth2 client is initialized. Older versions of Oauth2 apparently stripped this out, but not the recent version I was using.

@njbbaer njbbaer self-assigned this Apr 18, 2022
@njbbaer njbbaer merged commit 19be779 into master Apr 18, 2022
@njbbaer njbbaer deleted the AGX-814/fix-token-refresh branch April 18, 2022 22:03
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

Successfully merging this pull request may close these issues.

2 participants