# Configure Your OIDC Provider

#### Step 1: Sign in to Google Developer Console <a href="#step-1-sign-in-to-google-developer-console" id="step-1-sign-in-to-google-developer-console"></a>

1. Navigate to the [Google Cloud Console](https://console.cloud.google.com/).
2. Sign in with your Google account credentials.

#### Step 2: Create a New Project <a href="#step-2-create-a-new-project" id="step-2-create-a-new-project"></a>

1. If you don’t have an existing project, click on the “Select a project” dropdown menu at the top of the page and choose “New Project.”
2. Enter a name for your project and click “Create.” Detailed instructions can be found [here](https://cloud.google.com/resource-manager/docs/creating-managing-projects#creating_a_project).

#### Step 3: Configure Consent Screen <a href="#step-3-configure-consent-screen" id="step-3-configure-consent-screen"></a>

1. In the left sidebar, navigate to “APIs & Services” > “OAuth consent screen.”

   <figure><img src="https://3890225134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FutQhQ1f3Hy2b3URu0DVp%2Fuploads%2Fr8ZwcSH7o239ovn1PVrL%2FScreenshot%202024-07-01%20at%205.17.53%E2%80%AFPM.png?alt=media&#x26;token=1b0882e0-8a2b-4f70-ba6c-1d18906ae307" alt="" width="563"><figcaption></figcaption></figure>
2. Choose “External” user type and click “Create.”
3. Enter the required details such as the application name, user support email, and developer contact information.
4. Optionally, add additional details like the application logo and privacy policy URL.
5. Click “Save and continue.” Detailed steps are available [here](https://developers.google.com/workspace/guides/create-credentials#configure_the_oauth_consent_screen).

#### Step 4: Register Your Application <a href="#step-4-register-your-application" id="step-4-register-your-application"></a>

1. In the left sidebar, navigate to “APIs & Services” > “Credentials.”

   <figure><img src="https://3890225134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FutQhQ1f3Hy2b3URu0DVp%2Fuploads%2FfIiUaUqLIf4BDfCwDt2y%2FScreenshot%202024-07-01%20at%205.23.33%E2%80%AFPM.png?alt=media&#x26;token=19ba1200-f434-4bd0-93ec-252bd710fdd5" alt="" width="375"><figcaption></figcaption></figure>
2. Click on “Create Credentials” and select “OAuth client ID.”

   <figure><img src="https://3890225134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FutQhQ1f3Hy2b3URu0DVp%2Fuploads%2FkTFvmXARxfspSSacCsN2%2FScreenshot%202024-07-01%20at%205.19.25%E2%80%AFPM.png?alt=media&#x26;token=f1287ca2-29a7-4518-8e49-935bd4dd079f" alt="" width="563"><figcaption></figcaption></figure>
3. Choose the application type (e.g., Web application, Desktop app, or Mobile app).
4. Enter the necessary details such as the name of your application and the authorized redirect URIs. For OIDC, the redirect URIs should follow the format <https://login-aptos-sdk.lync.world/auth/callback>.
5. Click “Create.”

#### Step 5: Obtain Client ID and Client Secret <a href="#step-5-obtain-client-id-and-client-secret" id="step-5-obtain-client-id-and-client-secret"></a>

1. After creating the OAuth client ID, Google will provide you with a client ID and client secret. These credentials are essential for authenticating your application.
2. Note down the client ID and client secret securely. Do not expose them publicly.
