From 2524af07b185add1bd521f30c685bcb8858de354 Mon Sep 17 00:00:00 2001 From: Pete Littlewood Date: Fri, 11 Oct 2024 08:41:09 +0100 Subject: [PATCH 1/4] feat: add notice about refresh token rotation --- .../app-listing-tab.test.tsx.snap | 852 +++++++----------- .../helper-content.test.tsx.snap | 100 ++ .../__snapshots__/index.test.tsx.snap | 260 +++++- .../components/apps/new/helper-content.tsx | 30 + .../src/components/apps/new/index.tsx | 29 +- .../developer-portal/src/utils/navigation.ts | 1 + 6 files changed, 747 insertions(+), 525 deletions(-) diff --git a/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap b/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap index f360b6fa58..8c99c643d7 100644 --- a/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap +++ b/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap @@ -303,232 +303,190 @@ exports[`AppListingTab should match a snapshot 1`] = `
-
- +
- - + - - Dimensions: 192px x 192px - +
-
+
-
- +
- - + - - Dimensions: 990px x 444px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
@@ -832,232 +790,190 @@ exports[`AppListingTab should match a snapshot 1`] = `
-
- +
- - + - - Dimensions: 192px x 192px - +
-
+
-
- +
- - + - - Dimensions: 990px x 444px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
-
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
, @@ -1612,247 +1528,199 @@ exports[`AppListingTab should match a snapshot with errors and messages 1`] = ` -
- +
- - + - - Dimensions: 192px x 192px - +
-
+
An Error -
- +
- - + - - Dimensions: 990px x 444px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error @@ -2353,247 +2221,199 @@ exports[`AppListingTab should match a snapshot with errors and messages 1`] = ` -
- +
- - + - - Dimensions: 192px x 192px - +
-
+
An Error -
- +
- - + - - Dimensions: 990px x 444px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error -
- +
- - + - - Dimensions: 1196x x 914px - +
-
+
An Error diff --git a/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap b/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap index c0154d1432..ed8755e36a 100644 --- a/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap +++ b/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap @@ -113,6 +113,16 @@ exports[`HelperContent should match a snapshot 1`] = ` please click here. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. + @@ -136,6 +146,16 @@ exports[`HelperContent should match a snapshot 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -560,6 +620,16 @@ exports[`HelperContent should match a snapshot 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -691,6 +701,16 @@ exports[`AppsNew should match a snapshot 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -1689,6 +1739,16 @@ exports[`AppsNew should match a snapshot 1`] = ` please click here. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -1712,6 +1772,16 @@ exports[`AppsNew should match a snapshot 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -2106,6 +2206,50 @@ exports[`AppsNew should match snapshot for mobile view 1`] = `
+
+ + + + Important changes to refresh tokens + + + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. Apps registered prior to this date were given reusable refresh tokens from Reapit Connect. New apps will only be given single use refresh tokens as part of enhanced security updates. + + + For more information about this change, + + + please click here. + + Any apps registered prior to this date are unaffected by this change. + + + + + Close + + + + +
@@ -2776,6 +2920,16 @@ exports[`AppsNew should match snapshot for mobile view 1`] = ` please click here. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -2799,6 +2953,16 @@ exports[`AppsNew should match snapshot for mobile view 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -3797,6 +3991,16 @@ exports[`AppsNew should match snapshot for mobile view 1`] = ` please click here. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
@@ -3820,6 +4024,16 @@ exports[`AppsNew should match snapshot for mobile view 1`] = ` > Your application can be authenticated against our Platform either on the client-side or server-side. If you choose client-side authentication at the next step but later wish to upgrade to a full AgencyCloud integration in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
+ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, + + + please click here. + + Apps registered prior to this date are unaffected by this change. +
diff --git a/packages/developer-portal/src/components/apps/new/helper-content.tsx b/packages/developer-portal/src/components/apps/new/helper-content.tsx index badd9fbde7..a7dc72ac25 100644 --- a/packages/developer-portal/src/components/apps/new/helper-content.tsx +++ b/packages/developer-portal/src/components/apps/new/helper-content.tsx @@ -140,6 +140,12 @@ export const HelperContent: FC = () => { simply link out from your integrated app or render a pre-existing app in an iframe. For more information on the requirements, please click here. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure + it can handle rotating refresh tokens. For more information about this change,{' '} + please click here. Apps registered prior to + this date are unaffected by this change. +
@@ -155,6 +161,12 @@ export const HelperContent: FC = () => { in the future, you can do this. However, it is important to note, server-side integrations cannot be launched from within AgencyCloud. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it + can handle rotating refresh tokens. For more information about this change,{' '} + please click here. Apps registered prior to this + date are unaffected by this change. +
Data Portal and Reporting Feeds @@ -218,6 +230,12 @@ export const HelperContent: FC = () => { to investigate which data sets and permissions you will need before getting started. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it + can handle rotating refresh tokens. For more information about this change,{' '} + please click here. Apps registered prior to this + date are unaffected by this change. +
Using Reapit Connect as an Identity Provider @@ -232,6 +250,12 @@ export const HelperContent: FC = () => { interested in using our Sign In With Reapit button to embed on your own site{' '} visit here + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it + can handle rotating refresh tokens. For more information about this change,{' '} + please click here. Apps registered prior to this + date are unaffected by this change. +
Client Side Apps @@ -250,6 +274,12 @@ export const HelperContent: FC = () => { Create React App Template for quick start client-side development. + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it + can handle rotating refresh tokens. For more information about this change,{' '} + please click here. Apps registered prior to this + date are unaffected by this change. +
Server Side Apps diff --git a/packages/developer-portal/src/components/apps/new/index.tsx b/packages/developer-portal/src/components/apps/new/index.tsx index 8067132d10..95812e10c7 100644 --- a/packages/developer-portal/src/components/apps/new/index.tsx +++ b/packages/developer-portal/src/components/apps/new/index.tsx @@ -1,4 +1,5 @@ import { + BodyText, Button, ButtonGroup, ColResponsive, @@ -14,7 +15,7 @@ import { useMediaQuery, useModal, } from '@reapit/elements' -import React, { Dispatch, FC, SetStateAction, MouseEvent, useEffect, KeyboardEvent } from 'react' +import React, { Dispatch, FC, SetStateAction, MouseEvent, useEffect, KeyboardEvent, useState } from 'react' import { AppAuthFlow, AppNewStepId, getAppWizardStep } from './config' import { AppWizardState, useAppState } from '../state/use-app-state' import { ControlsContainer, StepContainer } from './__styles__' @@ -42,6 +43,8 @@ import { NavigateFunction, useNavigate } from 'react-router-dom' import { HelperContent } from './helper-content' import { defaultAppWizardState } from '../state/defaults' import { Helper } from '../page/helper' +import { ExternalPages, openNewPage } from '../../../utils/navigation' +import { setMarketplaceGlobalsByKey } from '@reapit/utils-react' export interface CreateAppFormSchema { redirectUris?: string @@ -228,8 +231,32 @@ export const AppsNewPage: FC = () => { const { headingText, headerText, iconName } = getAppWizardStep(currentStep) + const [refreshRotationModelIsOpen, setRefreshRotationModelIsOpen] = useState(true) + return ( + setRefreshRotationModelIsOpen(false)} + > + + From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it + can handle rotating refresh tokens. Apps registered prior to this date were given reusable refresh tokens from + Reapit Connect. New apps will only be given single use refresh tokens as part of enhanced security updates. + + + For more information about this change,{' '} + please click here. Any apps registered prior to + this date are unaffected by this change. + + + + + + (event?: MouseEvent) => { From 7face3a5e3ca9b8f988cc64e428a6181193e0e04 Mon Sep 17 00:00:00 2001 From: Pete Littlewood Date: Fri, 11 Oct 2024 09:04:10 +0100 Subject: [PATCH 2/4] chore: remove unused import --- packages/developer-portal/src/components/apps/new/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/developer-portal/src/components/apps/new/index.tsx b/packages/developer-portal/src/components/apps/new/index.tsx index 95812e10c7..340d4dfcf1 100644 --- a/packages/developer-portal/src/components/apps/new/index.tsx +++ b/packages/developer-portal/src/components/apps/new/index.tsx @@ -44,7 +44,6 @@ import { HelperContent } from './helper-content' import { defaultAppWizardState } from '../state/defaults' import { Helper } from '../page/helper' import { ExternalPages, openNewPage } from '../../../utils/navigation' -import { setMarketplaceGlobalsByKey } from '@reapit/utils-react' export interface CreateAppFormSchema { redirectUris?: string From 51938e6502d73adb840d7763f660c08016bf0146 Mon Sep 17 00:00:00 2001 From: Pete Littlewood Date: Fri, 11 Oct 2024 09:26:54 +0100 Subject: [PATCH 3/4] chore: add link role attribute to satisfy sonar --- .../helper-content.test.tsx.snap | 56 ++++++--- .../__snapshots__/index.test.tsx.snap | 112 +++++++++++++----- .../components/apps/new/helper-content.tsx | 24 ++-- 3 files changed, 136 insertions(+), 56 deletions(-) diff --git a/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap b/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap index ed8755e36a..67ec0abca9 100644 --- a/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap +++ b/packages/developer-portal/src/components/apps/new/__tests__/__snapshots__/helper-content.test.tsx.snap @@ -151,10 +151,13 @@ exports[`HelperContent should match a snapshot 1`] = ` > From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change, - + please click here. - Apps registered prior to this date are unaffected by this change. + + Apps registered prior to this date are unaffected by this change.
{ From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change,{' '} - please click here. Apps registered prior to this - date are unaffected by this change. + + please click here. + {' '} + Apps registered prior to this date are unaffected by this change.
@@ -233,8 +235,10 @@ export const HelperContent: FC = () => { From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change,{' '} - please click here. Apps registered prior to this - date are unaffected by this change. + + please click here. + {' '} + Apps registered prior to this date are unaffected by this change.
@@ -253,8 +257,10 @@ export const HelperContent: FC = () => { From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change,{' '} - please click here. Apps registered prior to this - date are unaffected by this change. + + please click here. + {' '} + Apps registered prior to this date are unaffected by this change.
@@ -277,8 +283,10 @@ export const HelperContent: FC = () => { From November 2024, when registering an app that uses the authorisation code authentication flow, ensure it can handle rotating refresh tokens. For more information about this change,{' '} - please click here. Apps registered prior to this - date are unaffected by this change. + + please click here. + {' '} + Apps registered prior to this date are unaffected by this change.
From 82dddd2b2069e47f5e02930d5febedb2b62f0d69 Mon Sep 17 00:00:00 2001 From: Pete Littlewood Date: Fri, 11 Oct 2024 13:49:14 +0100 Subject: [PATCH 4/4] fix: update failing snapshot --- .../app-listing-tab.test.tsx.snap | 852 +++++++++++------- 1 file changed, 516 insertions(+), 336 deletions(-) diff --git a/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap b/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap index 8c99c643d7..f360b6fa58 100644 --- a/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap +++ b/packages/developer-portal/src/components/apps/edit/__tests__/__snapshots__/app-listing-tab.test.tsx.snap @@ -303,190 +303,232 @@ exports[`AppListingTab should match a snapshot 1`] = `
- - +
+
- - +
Upload - - + - - Dimensions: 192px x 192px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 990px x 444px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
@@ -790,190 +832,232 @@ exports[`AppListingTab should match a snapshot 1`] = `
- - +
+
- - +
Upload - - + - - Dimensions: 192px x 192px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 990px x 444px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
- - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
, @@ -1528,199 +1612,247 @@ exports[`AppListingTab should match a snapshot with errors and messages 1`] = `
- - +
+
- - +
Upload - - + - - Dimensions: 192px x 192px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 990px x 444px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error @@ -2221,199 +2353,247 @@ exports[`AppListingTab should match a snapshot with errors and messages 1`] = ` - - +
+
- - +
Upload - - + - - Dimensions: 192px x 192px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 990px x 444px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error - - +
+
- - +
Upload - - + - - Dimensions: 1196x x 914px - +
-
+
An Error