Skip to content

Commit

Permalink
Merge pull request #284 from calebk1/stage
Browse files Browse the repository at this point in the history
Stage
  • Loading branch information
calebk1 authored Sep 9, 2024
2 parents d512f6d + 69680a9 commit 0add8c2
Show file tree
Hide file tree
Showing 6 changed files with 1,867 additions and 1,445 deletions.
19 changes: 7 additions & 12 deletions src/pages/credentials/GetCredentialOAuth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ const GetCredentialOAuthS2s = () => {
OAuth server-to-server credential
</h3>
<p className="spectrum-Body spectrum-Body--sizeM">
This credential allows you to use industry standard OAuth2.0
libraries to generate access tokens using the OAuth 2.0 client
credentials grant type.
This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type.
</p>
</div>
<div style={{ display: "flex", gap: "16px", flexDirection: "column" }}>
Expand Down Expand Up @@ -94,8 +92,9 @@ const GetCredentialOAuthS2s = () => {
<GetCredential.Card.AccessToken helpText="" buttonLabel="Generate and copy token" heading="Access Token" />

<GetCredential.Card.CredentialDetails heading="Credential details">
<GetCredential.Card.CredentialDetails.ClientId heading="ClientId" />
<GetCredential.Card.CredentialDetails.ClientSecret heading="Client Secret" buttonLabel="Retrieve and copy client secret" />
<GetCredential.Card.CredentialDetails.ClientId heading="Client ID (x-api-key)" />
<GetCredential.Card.CredentialDetails.ClientSecret heading="Client secret" buttonLabel="Retrieve and copy client secret" />
<GetCredential.Card.CredentialDetails.ImsOrgId heading="Organization ID" />
<GetCredential.Card.CredentialDetails.Scopes heading="Scopes" scope="openid,session,AdobeID,read_organizations,additional_info.projectedProductContext" />
</GetCredential.Card.CredentialDetails>

Expand All @@ -114,8 +113,9 @@ const GetCredentialOAuthS2s = () => {
</GetCredential.Return.Side>

<GetCredential.Return.CredentialDetails heading="Credential details">
<GetCredential.Return.CredentialDetails.ClientId heading="ClientId" />
<GetCredential.Return.CredentialDetails.ClientSecret heading="Client Secret" buttonLabel="Retrieve and copy client secret" />
<GetCredential.Return.CredentialDetails.ClientId heading="Client ID (x-api-key)" />
<GetCredential.Return.CredentialDetails.ClientSecret heading="Client secret" buttonLabel="Retrieve and copy client secret" />
<GetCredential.Card.CredentialDetails.ImsOrgId heading="Organization ID" />
<GetCredential.Return.CredentialDetails.Scopes heading="Scopes" scope="openid,session,AdobeID,read_organizations,additional_info.projectedProductContext" />
</GetCredential.Return.CredentialDetails>

Expand All @@ -133,8 +133,6 @@ const GetCredentialOAuthS2s = () => {

</GetCredential.Return>

<GetCredential.NoDeveloperAccessError title='Get Credentials' docsLinkText="How do I get developer permissions for the [Firefly - Firefly and Creative Cloud Automation API]?" docsLink="" />

<GetCredential.RequestAccess
title="Get credentials"
paragraph="Create unique credentials that you will use to call multiple APIs from your application."
Expand Down Expand Up @@ -183,9 +181,6 @@ const GetCredentialOAuthS2s = () => {
</div>
</GetCredential.RequestAccess.RequestAccessSide>
</GetCredential.RequestAccess>

<GetCredential.ErrorCode helpLink="Get help" title="Error code ###" description="Your personal account does not have Developer role permission to access the [Org Name, Inc.] organization in the Adobe Developer Console." buttonLabel="Contact Adobe" buttonLink="https://some_help_link" />

</GetCredential>

)
Expand Down
2 changes: 2 additions & 0 deletions src/pages/references/data-hygiene.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js"

<GetCredentialsOauth2 />

<GetCredentialsOauth2 />

<RedoclyAPIBlock src="/experience-platform-apis/swagger-specs/data-hygiene.yaml"/>
2 changes: 2 additions & 0 deletions src/pages/references/mtls-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js"

<GetCredentialsOauth2 />

<GetCredentialsOauth2 />

<RedoclyAPIBlock src="/experience-platform-apis/swagger-specs/mtls-service.yaml"/>
Loading

0 comments on commit 0add8c2

Please sign in to comment.