Skip to content

fix: include token type hint when revoking tokens - #390

Open
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/issue-360-revoke-token-hint
Open

fix: include token type hint when revoking tokens#390
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/issue-360-revoke-token-hint

Conversation

@miachillgood

Copy link
Copy Markdown

Summary

Closes #360.

Include token_type_hint=refresh_token in the revocation request, as required for refresh-token revocation, and add a regression test that verifies the exact request payload and endpoint.

Validation

  • bundle exec rspec (3,198 examples, 0 failures)
  • bundle exec rubocop lib/xero-ruby/api_client.rb spec/api_client_spec.rb (0 offenses)

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.

revoke_token fails with 'ReferenceTokenStore is not supported in Identity'

1 participant