Skip to content

Commit

Permalink
Merge pull request #4945 from Sachin-Mamoru/regex-vul
Browse files Browse the repository at this point in the history
Added the recommended regex pattern to the docs
  • Loading branch information
Sachin-Mamoru authored Jan 7, 2025
2 parents b52e6e9 + f041da9 commit 87cfcf7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ When configuring intermediate certificate validation for REST APIs, it is recomm
For the scenarios listed below, you can define a regular expression to validate the callback URL. The default configuration allows any callback URL. Note that if you are using these scenarios, it is highly recommended to define the regular expression that validates and only allows access to specific callback URLs.
!!! note
The recommended **callback URL regex** to use when testing the product is `^https:\/\/localhost:9443\/.*`. However, users should modify it to meet their requirements when they deploy the product. You can find the specific instructions through following sections.
- [Password Recovery](../../learn/password-recovery)
- [Username Recovery](../../learn/username-recovery)
- [Self User Registration](../../learn/self-registration-and-account-confirmation/#configuring-self-registration)
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ By default, XSS attacks are prevented in the latest WSO2 Identity Server version

For the scenarios listed below, you can define a regular expression to validate the callback URL. The default configuration allows any callback URL. Note that if you are using these scenarios, it is highly recommended to define the regular expression that validates and only allows access to specific callback URLs.

!!! note
The recommended **callback URL regex** to use when testing the product is `^https:\/\/localhost:9443\/.*`. However, users should modify it to meet their requirements when they deploy the product. You can find the specific instructions through following sections.

- [Password Recovery](../../learn/password-recovery)
- [Username Recovery](../../learn/username-recovery)
- [Self User Registration](../../learn/self-registration-and-account-confirmation/#configuring-self-registration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ Follow the steps below to change the default credentials.
For the scenarios listed below, you can define a regular expression to validate the callback URL. The default configuration allows any callback URL. Note that if you are using these scenarios, it is highly recommended to define the regular expression that validates and only allows access to specific callback URLs.
!!! note
The recommended **callback URL regex** to use when testing the product is `^https:\/\/localhost:9443\/.*`. However, users should modify it to meet their requirements when they deploy the product. You can find the specific instructions through following sections.
- [Password Recovery](../../../guides/password-mgt/recover-password/#enable-password-recovery-via-email)
- [Username Recovery](../../../guides/identity-lifecycles/recover-username/#enable-username-recovery)
- [Self User Registration](../../../guides/identity-lifecycles/self-registration-workflow/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ Follow the steps below to change the default credentials.
For the scenarios listed below, you can define a regular expression to validate the callback URL. The default configuration allows any callback URL. Note that if you are using these scenarios, it is highly recommended to define the regular expression that validates and only allows access to specific callback URLs.
!!! note
The recommended **callback URL regex** to use when testing the product is `^https:\/\/localhost:9443\/.*`. However, users should modify it to meet their requirements when they deploy the product. You can find the specific instructions through following sections.
- [Password Recovery](../../../guides/password-mgt/recover-password/#enable-password-recovery-via-email)
- [Username Recovery](../../../guides/identity-lifecycles/recover-username/#enable-username-recovery)
- [Self User Registration](../../../guides/identity-lifecycles/self-registration-workflow/)
Expand Down

0 comments on commit 87cfcf7

Please sign in to comment.