lol768 / XenForo-MCASSOC

Minecraft association addon for XenForo
Other
20 stars 9 forks source link

Instance secret #27

Open zorvi opened 7 years ago

zorvi commented 7 years ago

Were can i get instsnce secret??? On the xenforo site link doesnt work

zorvi commented 7 years ago
lol768 commented 7 years ago

It's literally just a 32 character hexadecimal password. The link does work: https://jsbin.com/jadofehoqu/1/edit?html,js,output

Look at the right hand side. It says "Your freshly-generated instance secret is:" and offers a textbox, where you can copy it.

zorvi commented 7 years ago

Association error There was an error while associating your account. Additional details: signature invalid Credentials in use{"site_id":"http:\/\/mineblockz.net\/index.php","instance_secret":"X","shared_secret":"X

lol768 commented 7 years ago

the site ID should be verbatim the domain you typed into the MCassoc verification tool. In this case, probably just "mineblockz.net"

zorvi commented 7 years ago

Ok

zorvi commented 7 years ago

It works! and what to make this: //crafatar.com/avatars/%u?size=%s

lol768 commented 7 years ago

That should be fine to stay as it is? Unless you're having trouble with crafatar?

zorvi commented 7 years ago

and this? Server Error Log Error Info Exception: MCAssocsignature invalid - library/AssociationMc/MCAssoc.php:70 Generated By: Zorvi, Mar 6, 2017 Stack Trace

0 /home/minebloc/web/mineblockz.net/public_html/library/AssociationMc/MCAssoc.php(88): AssociationMc_MCAssoc->verify('eyJ1c2VybmFtZSI...', '\x97^\xD4\xF1/h\xEA\x85l;\x11\xC8+\xA2\xE0...')

1 /home/minebloc/web/mineblockz.net/public_html/library/AssociationMc/ControllerPublic/Confirm.php(36): AssociationMc_MCAssoc->unwrapData('eyJ1c2VybmFtZSI...')

2 /home/minebloc/web/mineblockz.net/public_html/library/XenForo/FrontController.php(347): AssociationMc_ControllerPublic_Confirm->actionIndex()

3 /home/minebloc/web/mineblockz.net/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))

4 /home/minebloc/web/mineblockz.net/public_html/index.php(13): XenForo_FrontController->run()

5 {main}

Request State array(3) { ["url"] => string(77) "http://mineblockz.net/index.php?mc-association/confirm&stage=3&username=Zorvi" ["_GET"] => array(3) { ["mc-association/confirm"] => string(0) "" ["stage"] => string(1) "3" ["username"] => string(5) "Zorvi" } ["_POST"] => array(1) { ["data"] => string(192) "eyJ1c2VybmFtZSI6IlpvcnZpIiwidXVpZCI6Ijc0NmEwNzEzYmVhYjQxMzA4NzVhNTNjY2FlN2JkNWIxIiwibm93IjoxNDg4ODIxMDg3LCJrZXkiOiJXbTl5ZG1sa01FdEJ0LzJSVlhscGdWS05BeXp6Vkc1c0JBPT0ifabPAxTg0VRl6rrtTmNwPmKhPpTD" } }

lol768 commented 7 years ago

Do you consistently get that?

zorvi commented 7 years ago

Yes