-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7201 from NipuniBhagya/new-signup
[WIP] Add new react core module and refactor self-registration page
- Loading branch information
Showing
36 changed files
with
2,338 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
191 changes: 0 additions & 191 deletions
191
identity-apps-core/apps/authentication-portal/src/main/webapp/create-account.jsp
This file was deleted.
Oops, something went wrong.
67 changes: 67 additions & 0 deletions
67
...apps-core/apps/authentication-portal/src/main/webapp/data/emailotp-submit-1-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"flowId": "d13ec8d2-2d1e-11ee-be56-0242ac120002", | ||
"flowStatus": "INCOMPLETE", | ||
"flowType": "REGISTRATION", | ||
"elements": [ | ||
{ | ||
"id": "flow-display-header-8uJ6t4D3", | ||
"category": "DISPLAY", | ||
"type": "TYPOGRAPHY", | ||
"variant": "H3", | ||
"properties": { | ||
"className": "wso2is-typography-h3", | ||
"text": "sign.up.form.email.title", | ||
"styles": { | ||
"textAlign": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "flow-field-email-Rt8uJ6D3", | ||
"category": "FIELD", | ||
"type": "INPUT", | ||
"variant": "TEXT", | ||
"properties": { | ||
"type": "email", | ||
"label": "sign.up.form.fields.email.label", | ||
"placeholder": "sign.up.form.fields.email.placeholder", | ||
"name": "email", | ||
"className": "wso2is-email-input", | ||
"hint": "", | ||
"dataType": "string", | ||
"isRequired": true, | ||
"isReadOnly": false, | ||
"validationRegex": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$", | ||
"multiline": false | ||
} | ||
}, | ||
{ | ||
"id": "flow-action-verify-otp-ssd5g6h", | ||
"category": "ACTION", | ||
"type": "BUTTON", | ||
"variant": "PRIMARY", | ||
"action": { | ||
"type": "NAVIGATOR", | ||
"name": "EmailOTPVerifier2" | ||
}, | ||
"properties": { | ||
"type": "submit", | ||
"className": "wso2is-button", | ||
"text": "sign.up.form.button.continue", | ||
"action": "submit", | ||
"styles": { | ||
"width": "100%" | ||
} | ||
} | ||
} | ||
], | ||
"blocks": [ | ||
{ | ||
"id": "flow-block-attributes-g55dfGuKl", | ||
"nodes": [ | ||
"flow-field-email-Rt8uJ6D3", | ||
"flow-action-verify-otp-ssd5g6h" | ||
] | ||
} | ||
] | ||
} |
86 changes: 86 additions & 0 deletions
86
...apps-core/apps/authentication-portal/src/main/webapp/data/emailotp-submit-2-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"flowId": "d13ec8d2-2d1e-11ee-be56-0242ac120002", | ||
"flowStatus": "INCOMPLETE", | ||
"flowType": "REGISTRATION", | ||
"elements": [ | ||
{ | ||
"id": "flow-display-header-8uJ6t4D3", | ||
"category": "DISPLAY", | ||
"type": "TYPOGRAPHY", | ||
"variant": "H3", | ||
"properties": { | ||
"className": "wso2is-typography-h3", | ||
"text": "sign.up.form.email.otp.title", | ||
"styles": { | ||
"textAlign": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "flow-field-otp-mn44gh0j", | ||
"category": "FIELD", | ||
"type": "INPUT", | ||
"variant": "OTP", | ||
"config": { | ||
"userEmail": "[email protected]" | ||
}, | ||
"properties": { | ||
"type": "text", | ||
"label": "sign.up.form.fields.emailotp.label", | ||
"name": "emailOTP", | ||
"dataType": "string", | ||
"isMandatory": true, | ||
"isReadOnly": false, | ||
"validationRegex": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$" | ||
}, | ||
"styles": {} | ||
}, | ||
{ | ||
"id": "flow-field-email-Rt8uJ6D3", | ||
"category": "FIELD", | ||
"type": "INPUT", | ||
"variant": "EMAIL", | ||
"properties": { | ||
"type": "email", | ||
"label": "sign.up.form.fields.email.label", | ||
"placeholder": "sign.up.form.fields.email.placeholder", | ||
"name": "email", | ||
"className": "wso2is-email-input", | ||
"hint": "", | ||
"dataType": "string", | ||
"isRequired": true, | ||
"isReadOnly": false, | ||
"validationRegex": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$", | ||
"multiline": false | ||
} | ||
}, | ||
{ | ||
"id": "flow-action-verify-otp-ssd5g6h", | ||
"category": "ACTION", | ||
"type": "BUTTON", | ||
"variant": "PRIMARY", | ||
"action": { | ||
"type": "NAVIGATOR", | ||
"name": "EmailOTPVerifier3" | ||
}, | ||
"properties": { | ||
"type": "submit", | ||
"className": "wso2is-button", | ||
"text": "sign.up.form.button.submit", | ||
"action": "submit", | ||
"styles": { | ||
"width": "100%" | ||
} | ||
} | ||
} | ||
], | ||
"blocks": [ | ||
{ | ||
"id": "flow-block-attributes-g55dfGuKl", | ||
"nodes": [ | ||
"flow-field-otp-mn44gh0j", | ||
"flow-action-verify-otp-ssd5g6h" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.