I have a bit of a conundrum which I would like your help with.
I am developing a SaaS platform which requires the ability to set up an accountancy and for them to be able to retrieve data for their client companies.
So the owner of the software will add accountancies into the system. As far as I am aware, the only way to authenticate for the api is for an admin user of the accountancy to create a developer app at https://dev.freeagent.com to obtain a client id and secret and then using the Google Playground or similar, go through the OAuth flow in order to obtain an Access Token. I appreciate that once this is done once then the token can be kept valid using the refresh token so that it does not need to be done again.
However, as this is not currently a system where people would be able to sign up to it themselves (meaning I would be able to interrupt the sign up flow) this becomes very difficult to direct every accountancy to perform the steps of setting up a Developer app and obtaining an access token.
Is there any way to enable authentication using an API key so that this can be provided by the accountancy and used to access the data of the accountancy and all of their clients?
Thanks for any help you can provide with this. I know there have been posts previosuly about this but they all seem to be relatively old.