Listing events on my website without having my users logged into Blackbaud
Hi! I'm trying to list the events managed from my Blackbaud account on my website, but the endpoint to do so requires me to use two different types of authorization, OAuth authorization being one of them. The problem is I don't want to require my users to have blackbaud accounts, so I could not ask for their access token. The way I see it the only possibility I have is to store an access token from my account on my server and use that to make the requests to the sky API when ever my users go into my website. I would have to implement some logic to refresh the token automatically every time it gets expired. I understand this is probably not the intended way of using the sky api services but I don't see any other way of achieving what I want.
Is this correct? Is there any other way I can implement this? Is there any other product or service I can use from blackbaud to resolve this issue?
Thank you in advance for your support.
Comments
-
Hi Clodagh,
You're right that this is isn't typical SKY API usage, but we do occasionally see integrations that need to achieve something like this--where the SKY Application is used to provide information to an audience who doesn't have permission to a Blackbaud environment (and shouldn't) and may not have a Blackbaud account at all. (University Alumni pages come to mind)
The approach you're describing here is pretty on-point for how these integrations work. Your SKY Application will need to be authorized by a Blackbaud account who has access to this Event data. This account doesn't necessarily need to be your own. Depending on your account's level of access, you may want to create a separate “service account" with a minimum set of permissions strictly for this purpose (in this case, that might mean that the account only has read-only access to Event data).
Depending on the sensitivity of the data you're showing, your website will need to control whether the user of the site should be able to see that Event data. But ultimately, the SKY API requests will be made on behalf of that service account (or yours if you choose). Like you said, your application will need to perform its refresh token exchanges in order to maintain a valid access token. Because these tokens aren't associated with the user of the web page, SKY API requests should be made server-side to ensure the user can't sniff out the access tokens client-side.
I know this was mostly confirming your suspicions, but I hope it helped a bit!
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
