Skip to content

Commit b4d5158

Browse files
committed
security fix; per github security
1 parent bd461ba commit b4d5158

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o
2121

2222
## [Unreleased](https://github.com/ethyca/fides/compare/2.75.1..main)
2323

24-
25-
2624
## [2.75.1](https://github.com/ethyca/fides/compare/2.75.0..2.75.1)
2725

2826
### Added

src/fides/api/schemas/connection_configuration/connection_secrets_okta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def validate_okta_org_url(cls, value: str) -> str:
4949
f"Okta organization URL must be from okta.com domain (got: {parsed.netloc})"
5050
)
5151

52-
if "-admin.okta.com" in parsed.netloc:
52+
if parsed.hostname and parsed.hostname.endswith("-admin.okta.com"):
5353
raise ValueError(
5454
"Admin organization URLs (-admin.okta.com) are not supported. "
5555
"Use your main organization URL (e.g., https://your-org.okta.com)"

0 commit comments

Comments
 (0)