diff --git a/packages/marketplace/src/components/pages/developer-submit-app.tsx b/packages/marketplace/src/components/pages/developer-submit-app.tsx index 4a2f6fdb90..6681d475a1 100644 --- a/packages/marketplace/src/components/pages/developer-submit-app.tsx +++ b/packages/marketplace/src/components/pages/developer-submit-app.tsx @@ -525,7 +525,7 @@ export const SubmitApp: React.FC = ({ This section refers to the listing status in the Marketplace. If your App is an external application i.e. it is just an API feed app or is a web application that exists out of the Marketplace - ecosystem, please select, “Direct API” Your app will still need to be listed in the + ecosystem, please select, “Direct API”. Your app will still need to be listed in the Marketplace and installed by clients so they can grant permissions however, it will not appear as a launchable app for users from the Marketplace. It is a hard requirement that launchable apps conform closely to our “Elements”, brand guidelines so if your app does not, please also select @@ -548,11 +548,11 @@ export const SubmitApp: React.FC = ({ Please select an authentication flow for your application.{' '} You can only do this once when you submit your app. You should always select - “User Session” for client side authenticated apps. In this case, your users will have to - login and you will need to attach a Bearer token to your API Authorization headers. If you select - “Client Secret” we will provide you with a secret token to include in your API requests. - This secret will be unique per app and would typically be the flow for machine-to-machine server - side apps.{' '} + “Authorisation Code” for client side authenticated apps. In this case, your users will + have to login and you will need to attach a Bearer token to your API Authorization headers. If you + select “Client Credentials” we will provide you with a secret token to include in your + API requests. This secret will be unique per app and would typically be the flow for + machine-to-machine server side apps.{' '} It is fundamentally insecure to expose this secret on the client side and doing so will result in your app being rejected.{' '} @@ -570,8 +570,8 @@ export const SubmitApp: React.FC = ({ state={values['authFlow']} disabled={!isSubmitApp} options={[ - { label: 'USER SESSION', value: 'authorisationCode' }, - { label: 'CLIENT SECRET', value: 'clientCredentials' }, + { label: 'Authorisation Code', value: 'authorisationCode' }, + { label: 'Client Credentials', value: 'clientCredentials' }, ]} name="authFlow" id="authFlow" diff --git a/packages/marketplace/src/components/ui/__tests__/__snapshots__/app-authentication-detail.tsx.snap b/packages/marketplace/src/components/ui/__tests__/__snapshots__/app-authentication-detail.tsx.snap index a63a56e7ad..c119e2c375 100644 --- a/packages/marketplace/src/components/ui/__tests__/__snapshots__/app-authentication-detail.tsx.snap +++ b/packages/marketplace/src/components/ui/__tests__/__snapshots__/app-authentication-detail.tsx.snap @@ -10,7 +10,7 @@ exports[`AppAuthenticationDetail should match a snapshot 1`] = ` href="#" onClick={[Function]} > - Show Client Secret + Show Client Credentials diff --git a/packages/marketplace/src/components/ui/app-authentication-detail.tsx b/packages/marketplace/src/components/ui/app-authentication-detail.tsx index 69e3880663..b5926f02b7 100644 --- a/packages/marketplace/src/components/ui/app-authentication-detail.tsx +++ b/packages/marketplace/src/components/ui/app-authentication-detail.tsx @@ -66,7 +66,7 @@ export const AppAuthenticationDetail: React.FunctionComponent

Authentication:

- Show Client Secret + Show Client Credentials {loading && } diff --git a/packages/marketplace/src/tests/badges/badge-branches.svg b/packages/marketplace/src/tests/badges/badge-branches.svg index 6472226060..31031c8135 100644 --- a/packages/marketplace/src/tests/badges/badge-branches.svg +++ b/packages/marketplace/src/tests/badges/badge-branches.svg @@ -1 +1 @@ - Coverage:branchesCoverage:branches70.45%70.45% \ No newline at end of file + Coverage:branchesCoverage:branches70.45%70.45% diff --git a/packages/marketplace/src/tests/badges/badge-functions.svg b/packages/marketplace/src/tests/badges/badge-functions.svg index 8ed9524a99..638d297150 100644 --- a/packages/marketplace/src/tests/badges/badge-functions.svg +++ b/packages/marketplace/src/tests/badges/badge-functions.svg @@ -1 +1 @@ - Coverage:functionsCoverage:functions74.02%74.02% \ No newline at end of file + Coverage:functionsCoverage:functions74.02%74.02% diff --git a/packages/marketplace/src/tests/badges/badge-lines.svg b/packages/marketplace/src/tests/badges/badge-lines.svg index 4aea57996e..c8c4bb25e3 100644 --- a/packages/marketplace/src/tests/badges/badge-lines.svg +++ b/packages/marketplace/src/tests/badges/badge-lines.svg @@ -1 +1 @@ - Coverage:linesCoverage:lines90.41%90.41% \ No newline at end of file + Coverage:linesCoverage:lines90.41%90.41%