My Apps


You must be logged in to view this page.

Creating an App


Every app needs a name, logo, and a domain.
The app will only work on the given domain.

To create your app press the "Create an App" button in the "My Apps" section of this page.
After filling out all the necessary information, press the "Create" button and wait for your app to be approved.

You will not be able to use your app until it's been approved.
You will be notified on the forums once your app gets approved.
The approval process can take up to 7 days.

Login with HytaleHub


To use the "Login with HytaleHub" functionality on your website, first create an app.

Frontend

Include the following script on your site.
<script src="https://hytalehub.com/login-with-hytalehub.js"></script>

Then use the HH_createLoginButton function on any element to turn it into a login button.
HH_createLoginButton("#myButton", "your app id", callback);

You can also use the HH_createSignupButton function on any element to turn it into a sign up button.
HH_createSignupButton("#myButton", "your app id", callback);

You can get your app ID from the "My Apps" section of this page.

When a button is pressed, a popup window will appear for the user.
The callback function will be executed after the popup window is closed.

Backend

You can set up the redirect link in your app settings.

If the user grants access, the following will be sent to the redirect link by a POST request.
{
  "access": true,
  "secret": "your app secret key for verification",
  "ip": "user's ip address",
  "user_id": 1000,
  "user_name": "Example",
  "email": "[email protected]",
}