Skip to content

Commit 9a72ff2

Browse files
committed
fix: update get credential sample to latest
1 parent fef20f8 commit 9a72ff2

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

src/pages/credential/GetCredentialApiKey.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import creativeCloud from "./images/cc-icon.png";
44

55
const GetCredentialApiKey = () => {
66
return (
7-
<GetCredential className="getCredentialContainer" templateId="664e39607dcc7c0e5a4a035b" >
7+
<GetCredential className="getCredentialContainer" templateId="664e39607dcc7c0e5a4a035b" productName="Express Embed SDK" >
88

99
<GetCredential.SignIn title="Get credentials" paragraph="Create unique credentials that you will use to call multiple APIs from your application." buttonText="Sign in to create credentials" />
1010

@@ -41,7 +41,7 @@ const GetCredentialApiKey = () => {
4141

4242
<GetCredential.UnknownError helpLink="https://some_help_link" helpLinkText="Get Help" className="unKnownError" />
4343

44-
<GetCredential.Card title="Your credential is ready to use" paragraph="Check the downloads section of your browser for the ZIP file, or find it where you save downloads on your machine." nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps" className="card_developer_console">
44+
<GetCredential.Card title="Your credential is ready to use" paragraph="Check the downloads section of your browser for the ZIP file, or find it where you save downloads on your machine." className="card_developer_console" nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps">
4545

4646
<GetCredential.Card.Side>
4747
<div style="display : flex ; gap : 16px ; flex-direction : column;">
@@ -63,11 +63,12 @@ const GetCredentialApiKey = () => {
6363
<GetCredential.Card.CredentialDetails.APIKey heading="API Key" />
6464
<GetCredential.Card.CredentialDetails.AllowedOrigins heading="Allowed domains" />
6565
<GetCredential.Card.CredentialDetails.OrganizationName heading="Organization" />
66+
<GetCredential.Card.CredentialDetails.ImsOrgID heading="IMS Organization ID" />
6667
</GetCredential.Card.CredentialDetails>
6768

6869
</GetCredential.Card>
6970

70-
<GetCredential.Return title="Previously created projects" paragraph="Select a project and access your existing credentials for Firefly - Firefly and Creative Cloud Automation." nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps" className="card_developer_console">
71+
<GetCredential.Return title="Previously created projects" paragraph="Select a project and access your existing credentials for Firefly - Firefly and Creative Cloud Automation." className="card_developer_console" nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps">
7172

7273
<GetCredential.Return.Side>
7374
<GetCredential.Return.Side.Custom>
@@ -83,6 +84,7 @@ const GetCredentialApiKey = () => {
8384
<GetCredential.Return.CredentialDetails.APIKey heading="API Key" />
8485
<GetCredential.Return.CredentialDetails.AllowedOrigins heading="Allowed domains" />
8586
<GetCredential.Return.CredentialDetails.OrganizationName heading="Organization" />
87+
<GetCredential.Return.CredentialDetails.ImsOrgID heading="IMS Organization ID" />
8688
</GetCredential.Return.CredentialDetails>
8789

8890
<GetCredential.Return.ProjectsDropdown label="Projects" subHeading="Only your projects that contain credentials are shown" />
@@ -102,10 +104,11 @@ const GetCredentialApiKey = () => {
102104
paragraph="Create unique credentials that you will use to call multiple APIs from your application."
103105
>
104106
<GetCredential.RequestAccess.EdgeCase>
105-
<GetCredential.RequestAccess.EdgeCase.NoProduct title="Your organization does not have access to Firefly Services" buttonLabel="Contact us to learn more" buttonLink="#someLink" />
106-
<GetCredential.RequestAccess.EdgeCase.NotMember title="Access to Firefly Services APIs is not available at this time." buttonLabel="Learn more about Firefly Services" buttonLink="#someLink" />
107-
<GetCredential.RequestAccess.EdgeCase.NotSignUp title="Firefly Services APIs is available as part of the beta program. Sign up for the program or log in to an account that has access." buttonLabel="Sign up for the beta" buttonLink="#someLink" />
107+
<GetCredential.RequestAccess.EdgeCase.NoProduct title="Your organization does not have access to Express Embed SDK" buttonLabel="Contact us to learn more" buttonLink="#someLink" />
108+
<GetCredential.RequestAccess.EdgeCase.NotMember title="Access to Express Embed SDK APIs is not available at this time." buttonLabel="Learn more about Express Embed SDK" buttonLink="#someLink" />
109+
<GetCredential.RequestAccess.EdgeCase.NotSignUp title="Express Embed SDK APIs is available as part of the beta program. Sign up for the program or log in to an account that has access." buttonLabel="Sign up for the beta" buttonLink="#someLink" />
108110
</GetCredential.RequestAccess.EdgeCase>
111+
109112
<GetCredential.RequestAccess.RestrictedAccess
110113
title="Restricted Access"
111114
buttonLabel="Request access"

src/pages/credential/GetCredentialOAuthS2s.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ps from "./images/ps.png";
66
const GetCredentialOAuthS2s = () => {
77
return (
88

9-
<GetCredential className="getCredentialContainer" templateId="66576a0de3cedc3a36fc9f28" >
9+
<GetCredential className="getCredentialContainer" templateId="66576a0de3cedc3a36fc9f28" productName="Firefly Services">
1010

1111
<GetCredential.SignIn title="Get credentials" paragraph="Create unique credentials that you will use to call multiple APIs from your application." buttonText="Sign in to create credentials" />
1212

@@ -110,6 +110,7 @@ const GetCredentialOAuthS2s = () => {
110110
<GetCredential.Card.CredentialDetails.ClientId heading="ClientId" />
111111
<GetCredential.Card.CredentialDetails.ClientSecret heading="Client Secret" buttonLabel="Retrieve and copy client secret" />
112112
<GetCredential.Card.CredentialDetails.Scopes heading="Scopes" scope="openid, AdobeID, read_organizations, firefly_api, ff_apis" />
113+
<GetCredential.Card.CredentialDetails.ImsOrgID heading="IMS Organization ID" />
113114
</GetCredential.Card.CredentialDetails>
114115

115116
</GetCredential.Card>
@@ -130,6 +131,7 @@ const GetCredentialOAuthS2s = () => {
130131
<GetCredential.Return.CredentialDetails.ClientId heading="ClientId" />
131132
<GetCredential.Return.CredentialDetails.ClientSecret heading="Client Secret" buttonLabel="Retrieve and copy client secret" />
132133
<GetCredential.Return.CredentialDetails.Scopes heading="Scopes" scope="openid, AdobeID, read_organizations, firefly_api, ff_apis" />
134+
<GetCredential.Return.CredentialDetails.ImsOrgID heading="IMS Organization ID" />
133135
</GetCredential.Return.CredentialDetails>
134136

135137
<GetCredential.Return.ProjectsDropdown label="Projects" subHeading="Only your projects that contain credentials are shown" />

0 commit comments

Comments
 (0)