โš™๏ธCreate and Get a Client ID

To use the Bitkub Chain Developer Console SDK, you need to get a Client ID and obtain it to use in your environment (env) file. Here's a step-by-step explanation of the process:

Authentication Client ID

Description: to request an authentication key for connecting to Bitkub NEXT authentication service; this key allows for authentication and access to authorized resources or data. Help maintain the service's security and integrity by ensuring only authorized can access it.

  1. Go to the โ€œAuthenticationโ€ menu.

  2. Go to tab: OAuth Consent Screen Detail

  3. Input Authentication, Name Description

For Testnet, the system generates the project logo for authentication within two digits of the project name.

  1. Input Authorized JavaScript origin

  • Origin of your website

  • max 16 URLs

  1. Input Authorized Callback URL

  • Origin of your website + /oauth/callback

  • max 16 URLs)

  1. Click the โ€œcreateโ€ and confirm

  2. Copy the Client ID and Client Secret to use in your project. ๐ŸŽŠ

The Bitkub Chain Developer Center: SDK Console will return a client ID; a secret key is typically used for authentication.

  • Client ID: is a unique identifier thatโ€™s issued by the API or used for input required in the header of each request API

  • Client Secret Key: This value is associated with the Client ID and is used to verify the identity of Bitkub NEXT authentication.

Tips:

  • Donโ€™t hardcode your client's secret key in your applicationโ€™s source code. Storing the client's Secret Key in plain text in your code makes it easy for attackers to find and use it. Instead, consider storing the client's secret key in a secure location outside your code, such as an environment variable or a configuration file thatโ€™s not publicly accessible.

  • Keep your client's Secret Key confidential. Donโ€™t share your client's secret key with anyone who doesnโ€™t need to know it, and avoid storing it in insecure locations such as public GitHub repositories.

  • Rotate your client's Secret Key regularly. Consider regularly rotating your client's Secret Key to reduce the risk of being compromised. Update any associated configurations or environments variable when you rotate your client secret key.

  • Monitor your application for suspicious activity. Keep an eye out for any unauthorized access attempts or other suspicious activity that could indicate that your client's Secret Key has been compromised.

Last updated