Accessing the data without individual user authorisation

Hi there,


I’m developing an application using Blackbaud.


I’ve used the Blackbaud documentation to guide me in regards to accessing the data from my Blackbaud database. From everything I read, it seems the only way to display data from the database is to go through the Authorization flow, as mentioned here: https://developer.blackbaud.com/skyapi/docs/authorization and other pages.

 

I’ve done all that in my development, and got it working, but it does mean each of my users that login to my website (using my database and coding) has to have their own Blackbaud account too, which isn’t viable. I need to have one Blackbaud account that can authorise it for every user that logs into my website. Is this possible?


Many thanks.

Comments

  • Hi Chris‍. Could you use a role account in your website back-end code, eg website_user, rather than the logged in user's account?


    Cheers,

    Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions

     
  • Log in with your account to get the refresh token.  Save the refresh token in your database and use it for all subsequent api calls regardless of user.  This will work provided all users are accessing the same tenant.
  • Thanks guys, that worked. I'm saving both the access token and refresh token in my database and using them for all users logged into my website. So far, so good!

Categories