Id.net add new application

Hi,
I added my game using your API. (I added in the past many games)
My new app ID: 5598d952d5593032a5002dd1

When clicking on it I do not get the token from you.
The url I am using: http://igindis.net/id-net/

Please help me to solve this problem.
Thank you,
Eran

1 Like

Hi,

After looking at the code a bit, I see you’re using the JS SDK. I found some code to handle opening the dialog.

document.getElementById('idnet-connect').onclick = function(){
   ID.register(); // You can also use ID.login() to open the login window first
};

Where is the button with the idnet-connect id though?

Also, usually there is no need to worry about the token while using the SDK. You will want a callback inside register() to catch data though.

1 Like

I added the idnet-connect and still not working…What I am missing?

1 Like

You have a syntax error.

 ...
        ID.register();
      })
    );

The last line should be a closure. });

1 Like

Thank you :smile:
I want that the user after connect to see get his information and auto register/login him.
I should see this information…Why its not showing to me?

echo “idCode=$idCode
idState=$idState
”;

echo “<font size=“3” color=”#FFFFFF">
User Logged In

PlayerUserID = $getApi_user_id

username = $username

email = $email

first_name = $first_name

last_name = $last_name

date_of_birth = $date_of_birth

language = $language

gender = $gender

avatar = $avatar

";

3 Likes

never mind :smile:
Found the way…

1 Like

Now catch the data with a callback function

1 Like

HI YOUR GOOD AT THAT
:stuck_out_tongue::stuck_out_tongue::stuck_out_tongue::stuck_out_tongue::stuck_out_tongue::stuck_out_tongue::sunglasses::sunglasses::sunglasses::sunglasses::sunglasses::sunglasses::heart::heart::sparkling_heart::heart::sparkling_heart::heart::heart_eyes::kissing_closed_eyes::sweat_smile::grinning::laughing::slight_smile:

1 Like

This post was flagged by the community and is temporarily hidden.

lol

Y8 Games