Skip to content

Commit

Permalink
Add new react core module for registration portal
Browse files Browse the repository at this point in the history
  • Loading branch information
NipuniBhagya committed Dec 11, 2024
1 parent 8366469 commit ed003f9
Show file tree
Hide file tree
Showing 36 changed files with 2,345 additions and 401 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@
<jsp-file>/select_org.jsp</jsp-file>
</servlet>

<servlet>
<servlet-name>register.do</servlet-name>
<jsp-file>/self-registration.jsp</jsp-file>
</servlet>

<servlet-mapping>
<servlet-name>totp_enroll.do</servlet-name>
<url-pattern>/totp_enroll.do</url-pattern>
Expand Down Expand Up @@ -607,6 +612,11 @@
<url-pattern>/duo_error.do</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>register.do</servlet-name>
<url-pattern>/register.do</url-pattern>
</servlet-mapping>

<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/generic-exception-response.jsp</location>
Expand Down

This file was deleted.

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"
]
}
]
}
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"
]
}
]
}
Loading

0 comments on commit ed003f9

Please sign in to comment.