Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump auth-react and auth-spa to latest version #6881

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .changeset/dry-hairs-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
"@wso2is/admin.identity-verification-providers.v1": patch
"@wso2is/admin.remote-repository-configuration.v1": patch
"@wso2is/admin.alternative-login-identifier.v1": patch
"@wso2is/admin.organization-discovery.v1": patch
"@wso2is/admin.server-configurations.v1": patch
"@wso2is/admin.saml2-configuration.v1": patch
"@wso2is/admin.username-validation.v1": patch
"@wso2is/admin.wsfed-configuration.v1": patch
"@wso2is/admin.identity-providers.v1": patch
"@wso2is/admin.session-management.v1": patch
"@wso2is/admin.workflow-approvals.v1": patch
"@wso2is/admin.remote-userstores.v1": patch
"@wso2is/admin.console-settings.v1": patch
"@wso2is/admin.email-management.v1": patch
"@wso2is/admin.email-providers.v1": patch
"@wso2is/admin.email-templates.v1": patch
"@wso2is/admin.private-key-jwt.v1": patch
"@wso2is/admin.administrators.v1": patch
"@wso2is/admin.authentication.v1": patch
"@wso2is/admin.api-resources.v1": patch
"@wso2is/admin.api-resources.v2": patch
"@wso2is/admin.authorization.v1": patch
"@wso2is/admin.email-and-sms.v1": patch
"@wso2is/admin.impersonation.v1": patch
"@wso2is/admin.login-flow.ai.v1": patch
"@wso2is/admin.organizations.v1": patch
"@wso2is/admin.sms-providers.v1": patch
"@wso2is/admin.applications.v1": patch
"@wso2is/admin.certificates.v1": patch
"@wso2is/admin.feature-gate.v1": patch
"@wso2is/admin.org-insights.v1": patch
"@wso2is/admin.provisioning.v1": patch
"@wso2is/admin.subscription.v1": patch
"@wso2is/admin.branding.ai.v1": patch
"@wso2is/admin.connections.v1": patch
"@wso2is/admin.oidc-scopes.v1": patch
"@wso2is/admin.extensions.v1": patch
"@wso2is/admin.userstores.v1": patch
"@wso2is/admin.validation.v1": patch
"@wso2is/admin.branding.v1": patch
"@wso2is/admin.actions.v1": patch
"@wso2is/admin.secrets.v1": patch
"@wso2is/admin.tenants.v1": patch
"@wso2is/admin.claims.v1": patch
"@wso2is/admin.groups.v1": patch
"@wso2is/admin.server.v1": patch
"@wso2is/admin.roles.v1": patch
"@wso2is/admin.roles.v2": patch
"@wso2is/admin.users.v1": patch
"@wso2is/admin.core.v1": patch
"@wso2is/admin.home.v1": patch
"@wso2is/admin.logs.v1": patch
"@wso2is/common.ai.v1": patch
"@wso2is/unit-testing": patch
"@wso2is/myaccount": patch
"@wso2is/console": patch
"@wso2is/core": patch
"@wso2is/features": patch
---

Bump auth-react and auth-spa to latest version
2 changes: 1 addition & 1 deletion apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typecheck": "pnpm run compile"
},
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@monaco-editor/react": "^4.5.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/public/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/auth-spa-3.0.1.min.js</url-pattern>
<url-pattern>/auth-spa-3.1.2.min.js</url-pattern>
</servlet-mapping>

<servlet-mapping>
Expand All @@ -93,7 +93,7 @@
<servlet-name>default</servlet-name>
<url-pattern>/robots.txt</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/extensions/*</url-pattern>
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typecheck": "pnpm run compile"
},
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@babel/polyfill": "^7.0.0",
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
<script>
if (!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/public/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/auth-spa-3.0.1.min.js</url-pattern>
<url-pattern>/auth-spa-3.1.2.min.js</url-pattern>
</servlet-mapping>

<servlet-mapping>
Expand Down
2 changes: 1 addition & 1 deletion features/admin.actions.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@mui/material": "^5.13.0",
"@oxygen-ui/react": "^1.13.10",
"@oxygen-ui/react-icons": "^1.13.10",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.administrators.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.0.3",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.0.3",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.api-resources.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.api-resources.v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.applications.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.authentication.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"rollup-plugin-svg": "^2.0.0"
},
"peerDependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion features/admin.authorization.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.branding.ai.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.branding.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.certificates.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.claims.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.connections.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.console-settings.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.core.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@wso2is/admin.template-core.v1": "^1.0.49"
},
"peerDependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-and-sms.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-management.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-providers.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-templates.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
10 changes: 9 additions & 1 deletion features/admin.extensions.v1/configs/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,15 @@ export const applicationConfig: ApplicationConfig = {
getActions: () => null,
getOverriddenDescription: () => null,
getOverriddenImage: () => null,
getOverriddenTab: () => null,
getOverriddenTab: (
_clientId: string,
_tabName: ApplicationTabTypes,
defaultComponent: ReactElement,
_application: ApplicationInterface,
_tenantDomain: string,
_onUpdate?:(id: string) => void,
_readOnly?:boolean
) => defaultComponent,
getStrongAuthenticationFlowTabIndex: (
clientId: string,
tenantDomain: string
Expand Down
2 changes: 1 addition & 1 deletion features/admin.extensions.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.feature-gate.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.0.3",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.groups.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.home.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.0.3",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.identity-providers.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.impersonation.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
Loading
Loading