Skip to content
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 predefined flows for push authenticator #7440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZiyamSanthosh
Copy link
Contributor

This PR will add the predefined flows relevant to Push Notification Based Authenticators.

@wso2-jenkins-bot
Copy link
Contributor

⚠️ No Changeset found

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go.

If these changes should result in a version bump, you need to add a changeset.

Refer Release Documentation to learn how to add a changeset.

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.98%. Comparing base (7c847ad) to head (ed78b15).
Report is 533 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7440   +/-   ##
=======================================
  Coverage   41.98%   41.98%           
=======================================
  Files          42       42           
  Lines         936      936           
  Branches      233      227    -6     
=======================================
  Hits          393      393           
+ Misses        524      499   -25     
- Partials       19       44   +25     
Flag Coverage Δ
@wso2is/core 41.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes

@@ -96,6 +96,7 @@ export const getAuthenticatorIcons = (): any => {
microsoft: MicrosoftLogo,
office365: Office365Logo,
push: PushIcon,
"push-notification-authenticator": PushIcon,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot we reuse the icon defined in L98?

@@ -19,3 +19,4 @@
export { default as EmailOTPSecondFactorLoginSequence } from "./second-factor-email-otp-sequence.json";
export { default as SMSOTPSecondFactorLoginSequence } from "./second-factor-sms-otp-sequence.json";
export { default as TOTPSecondFactorLoginSequence } from "./second-factor-totp-sequence.json";
export { default as PushAuthSecondFactorLoginSequence } from "./second-factor-push-auth-sequence.json";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we made sure that this can be enabled/disabled conditionally in console UI?

@@ -17,7 +17,7 @@
*/

:root {
--asg-auth-flow-builder-side-panel-drawer-width: 450px;
--asg-auth-flow-builder-side-panel-drawer-width: 480px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add a screenshot of the UI with this change?

@@ -0,0 +1,13 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will enable push auth login sequence in visual editor, but may not show it in the classic editor (which is disabled in IS, but still enabled in Asgardeo).

Therefore, we may need to updated the classic editor quickstart as well.

Screenshot 2025-01-29 at 12 10 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants