Authentication Flow
Hello! Question about Blackbaud Sky Authentication.
I'm attempting to receive an authorization token so I can access the School API for a project that I'm working on. I have gone through the starter tutorials and can authenticate and use the school API through the developers console just fine. Previous projects worked on use Blackbaud-ON API which gives an authorization token through providing a login and password. I'm trying to replicate this flow as close as possible in a backend Java application.
So my question is, is there a way I can achieve this without requiring a callback URL, and just simply get the token in a response after one request? Previous unrelated project that use OAuth usually had some work around where I could provide a secret and application ID and receive the token that way. If anyone could point me in the direction to documentation on how to achieve this functionality, I'd be grateful. Again, I'm trying to avoid having to use a callback url - ideally I would just need to make one request to authenticate, which the response would contain an access token (like the Blackbaud ON API).
Thanks!
I'm attempting to receive an authorization token so I can access the School API for a project that I'm working on. I have gone through the starter tutorials and can authenticate and use the school API through the developers console just fine. Previous projects worked on use Blackbaud-ON API which gives an authorization token through providing a login and password. I'm trying to replicate this flow as close as possible in a backend Java application.
So my question is, is there a way I can achieve this without requiring a callback URL, and just simply get the token in a response after one request? Previous unrelated project that use OAuth usually had some work around where I could provide a secret and application ID and receive the token that way. If anyone could point me in the direction to documentation on how to achieve this functionality, I'd be grateful. Again, I'm trying to avoid having to use a callback url - ideally I would just need to make one request to authenticate, which the response would contain an access token (like the Blackbaud ON API).
Thanks!
0
Comments
-
Just saw a webinar today from a BB developer that walked through using Postman (which is a free desktop app) to generate a valid Oath2.0 refresh token for SKY api.
The webinar seems available here:
https://event.on24.com/eventRegistration/console/EventConsoleApollo.jsp?&eventid=2525984&sessionid=1&username=&partnerref=&format=fhvideo1&mobile=&flashsupportedmobiledevice=&helpcenter=&key=DB154C7AB77F54E2E88342AB911AB6A4&newConsole=false&nxChe=true&text_language_id=en&playerwidth=748&playerheight=526&eventuserid=343657831&contenttype=A&mediametricsessionid=293552881&mediametricid=3557384&usercd=343657831&mode=launch#
if you can find the "media player" component, the postmant/Oauth2.0 section begins around 25:00 in the discussion.0 -
Hey Mitch, thanks for the response!
I have actually used the Postman Oauth 2.0 flow but the one I'm familiar with requires the callback URL that I'm trying to avoid. However, I'm still interested in your webinar. When following your link, it says I'm not registered. Could you please provide me with a way to register? I'd appreciate it.
Thanks again!0 -
Hi Matthew (and Mitch, thanks for attending the webinar!)
You'll need a redirect URI to acquire an access token, but if you are using the Postman example I showed in the webinar, the only value you'll need to register with your SKY application is the one for Postman itself (https://oauth.pstmn.io/v1/callback)
Here's a screen shot of Postman's dialog when you click the "Get New Access Token" button (make sure you paste in your SKY application's ID and secret):
0 -
Ben Lambert is there a link to a recording of your webinar?0
-
Yes! Recordings for each of the sessions in the webinar series are posted here:
https://hello.blackbaud.com/BlackbaudMarketplace1
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 778 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


