Skip to content

Commit

Permalink
refactor: android sdk guide metadata and re-generate tutorials (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
charIeszhao authored Feb 13, 2025
1 parent fdd0a6d commit d8fd097
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion docs/quick-starts/framework/android/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_custom_props:
language: kotlin/java
official_link: https://developer.android.com
app_type: Native app
framework: Android (Kotlin) / Android (Java)
framework: Android
---

import CodeBlock from '@theme/CodeBlock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To create your {props.type} application, simply follow these steps:

1. Open the [Logto Console](https://cloud.logto.io). In the "Get started" section, click the "View all" link to open the application frameworks list. Alternatively, you can navigate to [Logto Console > Applications](https://cloud.logto.io/to/applications), and click the "Create application" button.
![Get started](../assets/get-started.png)
2. In the opening modal, click the "{props.type}" section or filter all the available "{props.type}" frameworks using the quick filter checkboxes on the left. Click the {props.framework.split('/').map((text) => `"${text.trim()}"`).join(' / ')} framework card to start creating your application.
2. In the opening modal, click the "{props.type}" section or filter all the available "{props.type}" frameworks using the quick filter checkboxes on the left. Click the "{props.framework}" framework card to start creating your application.
![Frameworks](../assets/framework-list.png)
3. Enter the application name, e.g., "Bookstore," and click "Create application".

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-apple.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Apple';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Apple connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Apple Sign-in \{#set-up-connectorconfigname}

Expand Down
2 changes: 1 addition & 1 deletion tutorial/build-with-logto/generated-android-aws-ses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const connector = 'AWS SES';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Logto SDK \{#integrate-logto-sdk}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-azure-ad.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Azure AD';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Azure AD connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Azure AD \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-discord.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Discord';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Discord connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Discord OAuth app \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-facebook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Facebook';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Facebook connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Facebook login \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'GitHub';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add GitHub connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up GitHub OAuth app \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Google Workspace enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Google Workspace enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up Google Cloud Platform \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Google';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Google connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Google OAuth app \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-hugging-face.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Hugging Face';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Hugging Face connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Hugging Face OAuth app \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-kakao.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Kakao';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Kakao connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Kakao login \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Microsoft Entra ID OIDC enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Microsoft Entra ID OIDC enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up Azure AD SSO application \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Microsoft Entra ID SAML enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Microsoft Entra ID SAML enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up Azure AD SSO application \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-naver.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Naver';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Naver connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Naver login \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-oauth2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'OAuth2';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add OAuth2 connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Standard OAuth 2.0 app \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'OIDC enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add OIDC enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up OIDC application on your IdP \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-oidc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'OIDC';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add OIDC connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Standard OIDC app \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'Okta enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add Okta enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up OIDC application on Okta admin portal \{#set-up-connectorconfigname}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'SAML enterprise SSO';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add SAML enterprise SSO connector \{#add-connector-connector}

<AddSsoConnector framework="Android (Kotlin) / Android (Java)" />
<AddSsoConnector framework="Android" />

## Set up SAML SSO application on your IdP \{#set-up-connectorconfigname}

Expand Down
6 changes: 3 additions & 3 deletions tutorial/build-with-logto/generated-android-saml.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const connector = 'SAML';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Android (Kotlin) / Android (Java) SDK \{#integrate-framework-sdk}
## Integrate Android SDK \{#integrate-framework-sdk}

<IntegrateSdk />

## Add SAML connector \{#add-connector-connector}

<AddSocialConnector connector={connector} framework="Android (Kotlin) / Android (Java)" />
<AddSocialConnector connector={connector} framework="Android" />

## Set up Standard SAML app \{#set-up-connectorconfigname}

Expand Down
2 changes: 1 addition & 1 deletion tutorial/build-with-logto/generated-android-sendgrid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const connector = 'SendGrid';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Logto SDK \{#integrate-logto-sdk}

Expand Down
2 changes: 1 addition & 1 deletion tutorial/build-with-logto/generated-android-twilio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const connector = 'Twilio';

## Create an application in Logto \{#create-an-application-in-logto}

<CreateApplication type="Native app" framework="Android (Kotlin) / Android (Java)" />
<CreateApplication type="Native app" framework="Android" />

## Integrate Logto SDK \{#integrate-logto-sdk}

Expand Down
2 changes: 1 addition & 1 deletion tutorial/build-with-logto/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"language": "kotlin/java",
"official_link": "https://developer.android.com",
"app_type": "Native app",
"framework": "Android (Kotlin) / Android (Java)"
"framework": "Android"
},
"sidebar": "quickStartSidebar",
"previous": {
Expand Down

0 comments on commit d8fd097

Please sign in to comment.