SAML SSO always redirect to dashboard, even when next parameter is specified in the URL

49 views
Skip to first unread message

Minh Huy Vo

unread,
Mar 31, 2023, 6:17:35 PM3/31/23
to Review Board Community
Hi,

I've recently set up SAML SSO in reviewboard to conenct with my company's internal SSO. One thing I get complained about is when users receive email about a review, after they click the URL  and click the SSO button to login, instead of being redirected to that review, they are redirected to the dashboard. I've taken a look at reviewboard's source code and can see that users are always redirected back to dashboard when using SSO (see  reviewboard/views.py at release-5.0.1 · reviewboard/reviewboard · GitHub). I'm using reviewboard-5.0.1, upgrade it to 5.0.4 doesn't seem to fix the problem. 

Has anyone raised this issue before? 

Regards,
Huy Vo.

Stephen Morton

unread,
Apr 10, 2023, 2:10:57 PM4/10/23
to Review Board Community
I'm running into this too. A user faces the following when they have to log in. It is frustrating for them.

- Clicks on the "Login via SSO" button and gets redirected to SAML SSO
- Gets redirected back to https://reviewboard.example.com/dashboard <-- Not the actual review
- Now has to go back to original link and re-click on it so get properly to review 161895


Steve

Christian Hammond

unread,
Apr 15, 2023, 9:03:52 PM4/15/23
to revie...@googlegroups.com
Definitely a frustration. Some state’s getting lost in the SSO flow. We’ll try to get a fix in soon.

Christian


--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/62b57fe0-311b-4449-887b-557f52430b31n%40googlegroups.com.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Minh Huy Vo

unread,
Apr 28, 2023, 10:41:43 AM4/28/23
to Review Board Community
I'm planning to announce the new reviewboard (5.0.4) for my company's usage soon. Is there any update on this?

Huy

Christian Hammond

unread,
Apr 28, 2023, 2:30:11 PM4/28/23
to revie...@googlegroups.com
A fix is coming in 5.0.5, which we’ll have available in a couple weeks.

If your company has a Premium Support contract with us, let me know. We’ll get you custom builds as needed with this fix and for any other issues you encounter as you prepare to launch.

Christian


Minh Huy Vo

unread,
Jun 20, 2023, 8:58:50 PM6/20/23
to Review Board Community
Hi Christian,

I've updated our reviewboard to 5.0.5 and the bug is gone. 

Thank you for the fix. We appreciate it.
Huy
Reply all
Reply to author
Forward
0 new messages