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

Can we connect one app with multiple XERO account? #83

Closed
alpeshssit opened this issue Aug 7, 2023 · 2 comments
Closed

Can we connect one app with multiple XERO account? #83

alpeshssit opened this issue Aug 7, 2023 · 2 comments

Comments

@alpeshssit
Copy link

My client has 4 XERO accounts which need to connect with one XERO app, But when i tried to connect, it will allow only one access token to one organization.

I've created app in one XERO account, I've connected to XERO. Now I want to connect another XERO account with same app, then it will override before connected account.

Can you please help me how can we connect multiple XERO account?

@hailwood
Copy link
Contributor

hailwood commented Aug 7, 2023

It sounds like you'll want to define a custom credential store so you can store multiple sets of credentials and retrieve them as desired.

@hailwood hailwood closed this as completed Aug 7, 2023
@alpeshssit
Copy link
Author

alpeshssit commented Aug 8, 2023

It sounds like you'll want to define a custom credential store so you can store multiple sets of credentials and retrieve them as desired.

Basically I want to keep one credential and want to connect multiple XERO organizations but each organizations have different XERO account.

e.g : Org1, Org2, Org3, Org4..those are organizations and each have own XERO account login and I've created app in Org1 and got the client Id and client secret. now I'v connected org1 successfully, But when I connect Org2, 3, 4. then if i passed tenant_id of Org1 to Accounting API then it will return "Unauthenticate".

Please do need help to this scenario.

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

No branches or pull requests

2 participants