-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No open redirects for enterprise SSO's #22622
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22622 +/- ##
==========================================
- Coverage 64.19% 64.13% -0.06%
==========================================
Files 2446 2456 +10
Lines 81119 81268 +149
Branches 9914 9933 +19
==========================================
+ Hits 52075 52125 +50
- Misses 24945 25044 +99
Partials 4099 4099
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool this looks good to me.
@howonlee could not create a backport due to conflicts |
we need to manually backport this @howonlee |
Open redirects means doing some sso with a built-in redirect, and redirecting into an unhappy place (aka, a non-MB place) afterwards so that someone gets phished or other bad things happen. This is already prevented for OSS sso's but not EE - prevents this for EE sso's by forcing redirects to be in MB `site-url` set domain.
…#22745) * No open redirects for enterprise SSO's (#22622) Open redirects means doing some sso with a built-in redirect, and redirecting into an unhappy place (aka, a non-MB place) afterwards so that someone gets phished or other bad things happen. This is already prevented for OSS sso's but not EE - prevents this for EE sso's by forcing redirects to be in MB `site-url` set domain. * lint fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good ✔️
Fixes https://github.com/metabase/metaboat/issues/160