My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Products
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
SKY Developer
SKY Developer General Discussions
Authentication Flow
Matthew Hogetvedt
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!
Find more posts tagged with
Comments
Mitch Hollberg
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.
Matthew Hogetvedt
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!
Ben Lambert
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):
Dan Snyder
Ben Lambert
is there a link to a recording of your webinar?
Ben Lambert
Yes! Recordings for each of the sessions in the webinar series are posted here:
https://hello.blackbaud.com/BlackbaudMarketplace
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of