Unexpected behavior testing new OAuth 2.0 authorization endpoint preview.
Hi there!
We are testing our integration with the preview authorization endpoint (https://preview.oauth2.sky.blackbaud.com/authorization).
We start redirecting the user to: https://preview.oauth2.sky.blackbaud.com/authorization?client_id=6ce25cc3-3d0d-409a-af39-514c42e67ec8&response_type=code&redirect_uri=https://app.livealumni.com:4444/login?handler=SignInWithBlackbaud&state=39f00827-f582-4b39-8cbf-45ef0b53d0c1
Then we can track that the users gets redirected to: https://app.blackbaud.com/oauth/authorize?client_id=6ce25cc3-3d0d-409a-af39-514c42e67ec8&response_type=code&redirect_uri=https://app.livealumni.com:4444/login?handler=SignInWithBlackbaud&state=39f00827-f582-4b39-8cbf-45ef0b53d0c1
So far this is good. But when the page loads on the browser the URL looks like this: https://app.blackbaud.com/oauth/authorize?client_id=6ce25cc3-3d0d-409a-af39-514c42e67ec8&response_type=code&redirect_uri=https://app.livealumni.com:4444/login
As you can see, it cuts the redirect URL, it removes the query parameter that is needed in our side. This also causes an error on the redirect URL validation performed by RENXT:

We believe this is an issue with the preview authorization endpoint, because in our production environment we use the same redirect URL and it works perfectly.
Comments
-
Thank you for reporting this, Tatia.
I see the issue here, and I'll see if my team can support redirect URIs without the need to URL Encode their query strings within the redirect URI. For what it's worth, URL encoding the redirect URI will offer the most protection from changes in the future that could result in us misinterpreting the query string. For example, if your query string contained two parameters, we would interpret that second parameter as part of the `oauth/authorization` request and not of your redirect URI--just like we do the `state` parameter that follows your redirect URI now. That stated, we definitely want to maintain compatibility with our previous behavior if we can; we wouldn't want developers and applications to modify their applications if we can help it.
We'll look into this, and we do appreciate you testing your application early against these changes and reporting the incompatibility. We'll also review the redirect URIs for all SKY applications to see if they could be impacted by this. We'll be in touch soon.
In the meantime, you (and anyone else reading this who could be affected) can ensure support for your application now and going forward by URL Encoding the redirect URI for the /authorization request.
e.g. https%3a%2f%2fapp.livealumni.com%3a4444%2flogin%3fhandler%3dSignInWithBlackbaud
The redirect URI in your /token request should remain unencoded.
1 -
We have reviewed the issue and made updates to address a few unintended compatibility changes regarding the handling of parameters (including `redirect_uri`) whether they be encoded or not.
Tatia, thank you again for testing your application early against these changes and for bringing the issue to our attention. Please let us know if you encounter anything else.0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 396 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 650 Blackbaud Grantmaking™
- 568 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) 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
- 785 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)
