-
Notifications
You must be signed in to change notification settings - Fork 87
Okta Oauth2 Implementation #7044
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
src/fides/api/schemas/connection_configuration/connection_secrets_okta.py
Fixed
Show fixed
Hide fixed
clients/admin-ui/src/features/common/form/FormFieldFromSchema.tsx
Outdated
Show resolved
Hide resolved
8f989b2 to
b4d5158
Compare
src/fides/api/schemas/connection_configuration/connection_secrets_okta.py
Fixed
Show fixed
Hide fixed
| actionsColumn, | ||
| ]; | ||
| }, [integration.secrets, isWebsiteMonitor, onEditMonitor]); | ||
| }, [integration.secrets, isWebsiteMonitor, isOktaIntegration, onEditMonitor]); |
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 was missed. perhaps a lint rule is needed
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7044 +/- ##
==========================================
- Coverage 87.01% 86.96% -0.06%
==========================================
Files 528 529 +1
Lines 34674 34861 +187
Branches 4008 4039 +31
==========================================
+ Hits 30172 30317 +145
- Misses 3628 3669 +41
- Partials 874 875 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
clients/admin-ui/src/features/integrations/integration-type-info/oktaInfo.tsx
Outdated
Show resolved
Hide resolved
johnewart
left a comment
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.
Just a few minor questions - though I wouldn't classify any of them as blockers
clients/admin-ui/src/features/config-wizard/AuthenticateOktaForm.tsx
Outdated
Show resolved
Hide resolved
| CUSTOM_DOMAIN_PATTERN = re.compile( | ||
| r"^[a-zA-Z0-9]" # Must start with alphanumeric | ||
| r"[a-zA-Z0-9\-\.]*" # Can contain alphanumeric, hyphens, dots | ||
| r"[a-zA-Z0-9]$" # Must end with alphanumeric | ||
| ) |
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.
Is there a util for this already?
7b5a7a6 to
33d18fb
Compare
Greptile OverviewGreptile SummaryReplaces Okta's legacy API token authentication with OAuth2 Client Credentials using Major Changes:
Issues Found:
Confidence Score: 3/5
Important Files ChangedFile Analysis
|
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.
35 files reviewed, 2 comments
f289eb7 to
0088b32
Compare
Ticket ENG-1954 ENG-1953 ENG-1954 ENG-1955 ENG-1956 ENG-1952 ENG-2107
Description Of Changes
This PR replaces Okta’s legacy API token authentication with OAuth2 Client Credentials using
private_key_jwt. It updates backend models, admin UI forms, documentation, and introduces a full migration path. This is a breaking change requiring all existing Okta integrations to update their configuration.Add systems wizard
Settings/Integrations Management
Action Center
Code Changes
private_key_jwt.OktaConfigmodel: requireclientId,privateKey, optionalscopes; removetoken.clientId,privateKey,scopes).privateKeyas JWK JSON; normalize scopes to an array.docs/guides/okta_key_management.md).Steps to Confirm
private_key_jwt.clientIdand scopes.Pre-Merge Checklist
nox -s demo -- devCHANGELOG.md