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

Xero apps with "OAuth 2.0 grant type: Auth code with PKCE" #276

Open
onetom opened this issue Mar 31, 2021 · 1 comment
Open

Xero apps with "OAuth 2.0 grant type: Auth code with PKCE" #276

onetom opened this issue Mar 31, 2021 · 1 comment

Comments

@onetom
Copy link

onetom commented Mar 31, 2021

We are developing a Google Data Studio community connector and we would like to move the Xero report processing into our Clojure backend service, from the current Google Apps Scripts solution.

We would like to use a single, official library, which supports working with Xero apps, which use the PKCE grant type.

We have rolled a bespoke solution, directly in Clojure, using the httpkit and buddy libraries, just so we an at least refresh our access tokens, but it would be great to have a comprehensive interface to all of the Xero API features.

@SidneyAllen
Copy link
Contributor

Hey @onetom - Thank you for the suggestion.

This is the first request we've received for adding PCKE support. I did a little searching on the topic as it relates to our use of https://github.com/googleapis/google-api-java-client

It appears this library is in maintenance mode and PKCE support won't be added.
googleapis/google-api-java-client#1100 (comment)

If you are not aware of our OpenAPI specs, those are available in this repo for developers to use.
https://github.com/XeroAPI/Xero-OpenAPI

Moving to a different OAuth2 library would be a major piece of work, so won't be something we'll action at this time. I will leave this issue open so other developers can register their interest in PKCE support in Java. Please share your use case or tooling that needs this support so we can understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants