Configure Aptos Keyless
Kana Widget Configuration for Aptos Keyless
Last updated
Kana Widget Configuration for Aptos Keyless
Last updated
To enable Aptos keyless functionality in the Kana Widget, follow the steps below:
Navigate to the Google Cloud Console.
Sign in with your Google account credentials.
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.”
Enter a name for your project and click “Create.” Detailed instructions can be found here.
Step 3: Configure Consent Screen
In the left sidebar, navigate to “APIs & Services” > “OAuth consent screen.”
Choose “External” user type and click “Create.”
Enter the required details such as the application name, user support email, and developer contact information.
Optionally, add additional details like the application logo and privacy policy URL.
Click “Save and continue.” Detailed steps are available here.
In the left sidebar, navigate to “APIs & Services” > “Credentials.”
2.Click on “Create Credentials” and select “OAuth client ID.”
Choose the application type (e.g., Web application, Desktop app, or Mobile app).
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://your-app-domain.com.
Click “Create.”
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.
Note down the client ID and client secret securely. Do not expose them publicly.
Integrate OIDC authentication into your application using a suitable OIDC library or framework (e.g., Passport.js for Node.js, Spring Security for Java, or Auth0 for various platforms).
Use the client ID and client secret obtained from Google to configure OIDC authentication in your application settings.
Set up the appropriate callback URL (https://your-app-domain.com) for handling authentication responses from Google.
note