wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 727 forks source link

[Legacy Mode] Redirecting to a blank page when trying to add a connecting to an application through Connection's > Quick start page. #18361

Closed melanisilva closed 10 months ago

melanisilva commented 11 months ago

Describe the issue:

$Subject Redirecting to a blank page from

https://github.com/wso2/product-is/assets/41188245/254295e5-664d-46b5-bf63-12c67604d9f2

Screenshot 2023-12-03 at 12 29 16

How to reproduce:

  1. Redirect to connections page
  2. Select SMS OTP > Set up
  3. Navigate to Quick Start
  4. Click on Application link in Select Application step.

Expected behavior:

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

Related issues:

Suggested labels:

DonOmalVindula commented 11 months ago

Possibly related to https://github.com/wso2/product-is/issues/18366

brionmario commented 10 months ago

Modified the j2 to honor legacy_mode.enabled and legacy_authz_runtime.enable as well when resolving isSaas since the apps are SaaS in the legacy mode.

    {% if console.is_saas is defined %}
    "isSaas": {{ console.is_saas }},
    {% elif legacy_mode.enabled is defined %}
    "isSaas": {{ legacy_mode.enabled }},
    {% elif legacy_authz_runtime.enable is defined %}
    "isSaas": {{ legacy_authz_runtime.enable }},
    {% endif %}

PR: https://github.com/wso2/identity-apps/pull/5043