Skip to content

Additional settings by IdP

This provides guidance on other settings required across all development engines when using the Hive SDK authentication feature.

Authentication IdP x integration callback uri settings

When integrating X (formerly Twitter) IdP, it should be set in the X Developer Portal, and it must be in the predefined format as shown below.

The Callback URI is set in the User authentication settings > App info of the project created in the X Developer Portal as shown below.

providerx_callbackuri_setting

Bot configuration for IdP telegram login

To provide the login service to Telegram in authentication, a dedicated bot is required.

Create the bot in the order below and obtain the botId and botDomain.
You can find more details in the Telegram official documentation.

  1. Search for '@BotFather' on Telegram and join the chat room with the official verification mark.
  2. Press the Start button at the bottom and enter the command /newbot in the chat window. Following BotFather's instructions, you can receive an authentication token by entering 'name' and 'username'. Note that the username cannot be changed, so be careful when entering it. The number before the colon (':') in the obtained token string corresponds to botId, and the token is a value that needs to be entered in the Hive console later, so make sure to save it together.
  3. Enter the command /setDomain in the chat window. You can set the domain address that will be displayed on the login screen. The input value will be used as botDomain.
  4. Enter the obtained botId and botDomain in hive_config.xml. If you are using Unity, you can easily add it by referring to hive_config.xml settings.