List organisations & disconnect organisations via developer portal
We came up with an issue that at the moment Xero Developer portal does not support and in our use case, it's a bit difficult to handle.
In our use case, we use a 3rd party to handle the communication to the Xero API and we do not have access to our connections tokens because the 3rd party handles this.
The issue that happened to us was getting at some point where the total numbers of connections didn't match on both systems (Xero Developer portal & 3rd party portal).
We come across multiple connections where the token was expired and we couldn't remove that connection because Xero does shows a list of organisations attached to each application.
We contacted the 3rd party to see if they could remove these invalid connections but without a valid token, they cannot call the endpoint to terminate the connection.
We would suggest developing:
- Another menu option on the Xero developer portal that lists all the organisations connected to the specific application selected.
- On each entry of the list add a button to force the disconnection of the organisation selected
This is one of the issues we're facing using 3rd parties to handle the communication to Xero API and I believe this screen would be very helpful to other developers to have quick access to the connections.
Much appreciated the attention to the development of this feature.
-
Ldsenow Luo commented
Also the api should support the same thing i wish. Using the app's client credentials to get a list of connections and the connection data should also contain the last usage date would be perfect. So I can actively remove some connections, rather than hitting the 25 connections limit. I hope this is not by design to force the app developers to apply a certified app.
-
Peter Simpson commented
My company integrates with Xero, and this would enormously help the support team in debugging and diagnosing problems, which would also result in fewer escalations to the Xero side.