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

Allow id_token to be optional for OAuth2Token.update_token #28

Conversation

sromero84
Copy link
Contributor

@sromero84 sromero84 commented Oct 27, 2020

Fixes #27

The "id_token" key is not present when the the openid scope is not used. This especially problematic when migration from OAuth1, since the openid scope is not allowed during the migration.

…s not omitted when the "openid" scope is not used

Signed-off-by: Santiago Romero <[email protected]>
SidneyAllen added a commit that referenced this pull request Nov 3, 2020
ACCOUNTING

Add specs for the Organisation endpoint subresource Action
Add two components Actions and Action
BatchPaymentDetails remove max length from Details property
Adding History for Manual Journals
Rename two problem currencies to TRY_LIRA and EMPTY_CURRENCY

AU PAYROLL

Add Timesheet Status enum REJECTED and REQUESTED

NZ PAYROLL
fix casing on tag for PayrollNZ …should be PayrollNz

Merge PR changes #28
@SidneyAllen SidneyAllen merged commit 0921c8a into XeroAPI:master Nov 3, 2020
@SidneyAllen
Copy link
Contributor

@sromero84 thanks for the PR, I've merged the change in version 1.0.13

@sromero84
Copy link
Contributor Author

@SidneyAllen Awesome, thanks! Updating our code at Gourmet Growth as well.

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.

OAuth2Token.update_token always expects OpenID scope to be used
2 participants