-
Notifications
You must be signed in to change notification settings - Fork 265
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
Add Support for Connected Apps in Custom Local Authenticators #7481
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7481 +/- ##
=======================================
Coverage 41.98% 41.98%
=======================================
Files 42 42
Lines 936 936
Branches 214 233 +19
=======================================
Hits 393 393
Misses 543 543
Flags with carried forward coverage won't be shown. Click here to find out more. |
* @param authenticatorId - ID of the local authenticator. | ||
* @returns A promise containing the response. | ||
*/ | ||
export const getConnectedAppsOfAuthenticator = (authenticatorId: string): Promise<any> => { |
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.
Shall we define a custom hook with SWR for this?
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.
Let's add changeset too
🦋 Changeset detectedThe changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. |
Purpose
This PR updates the custom local authenticator UI components to support connected apps.
API to fetch connected apps related to a custom authenticator:
authenticators/custom/<custom-local-authenticator-id>/connected-apps
The application edit functionality has been updated to allow redirection to the authenticator edit page. Previously, it always redirected to the IDP edit page by default.
IMPORTANT: Currently, the backend functionality related to this improvement is unavailable in the product. PR needs to be merged once the above task is done.
Related Issues
Follow-up Tasks
The source code for the application's authentication functionality needs to be refactored to use generic variable names for connection-related operations. Currently, the variable names are specific to IDPs, but they should be updated to support both IDPs and local authentication.
Checklist
Security checks