You can enable users to sign up and sign in using their Xero credentials. To enable this, you’ll need a Xero app and some developer know-how.
- In Kinde, go to Settings > Authentication.
- In the Social connections section, select Add connection.
- In the window that appears, select Xero, then select Save. Xero now appears in the Social connections list.
- On the Xero tile, select Configure.
- In the Callback URL section:
- If you use Kinde’s domain as your default, copy the Kinde domain URL.
- If you use a custom domain (and want to use it as the callback) select the Use custom domain instead switch and copy the Custom domain URL.
- Use the copied Callback URL to set up the app, see below.
- Create a Xero developer account. https://developer.xero.com/
- Verify your email when prompted.
- Select New app.
- Give the app a name and select Web app as the type.
- Add your company URL.
- Enter your Kinde callback URL in the Redirect URI field.
- Accept the terms and conditions and select Create App.
- Go to Configuration and copy the Client id somewhere you can access it later.
- Generate a Client secret and copy it immediately somewhere you can access it again. You will not get to copy it again.
- In Kinde, go to Settings > Authentication.
- On the Xero tile, select Configure.
- Paste the Client ID and Client secret from the Xero app into the relevant fields.
- Select which applications will allow Xero social sign in.
- Select Save.
Users will now see Xero as an option to sign up and sign in to the selected applications.
Authentication and access