Skip to content

Commit

Permalink
Fix legacyAuthzRuntime not setting properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Oct 27, 2023
1 parent 1033f52 commit b19959a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/mighty-coins-decide.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/sharp-avocados-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Fix legacyAuthzRuntime not setting properly
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
{% if console.get_profile_info_from_id_token is defined %}
"getProfileInfoFromIDToken": {{ console.get_profile_info_from_id_token }},
{% endif %}
{% if legacy_authz_runtime %}
{% if legacy_authz_runtime.enabled is defined %}
"legacyAuthzRuntime": {{ legacy_authz_runtime.enabled }},
{% endif %}
"ui": {
Expand Down
1 change: 1 addition & 0 deletions apps/console/src/protected-app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export const ProtectedApp: FunctionComponent<AppPropsInterface> = (): ReactEleme
}
);

setTenant(response.orgId);
subOrgIdToken = response.orgId;
dispatch(setCurrentOrganization(response.orgName));
}
Expand Down

0 comments on commit b19959a

Please sign in to comment.