webplatform / annotation-service

Hypothes.is’ container project to customize for notes.webplatform.org
1 stars 0 forks source link

When I load the sidebar within the MediaWiki, both sso.js reloads the page #17

Closed renoirb closed 9 years ago

renoirb commented 9 years ago

If we load h within MediaWiki, the page reloads and h stays not logged in.

To reproduce

You have to override your local computer hosts file to pint to the latest deployment of h.

cat /etc/hosts | grep notes
208.113.157.144  notes.webplatform.org

Then, run in the console

$('head').append('<script src="https://notes.webplatform.org/embed.js"></script>');

Diagnosis

Both uses sso.js and both reloads the page. Only one of them created their cookies.

tilgovi commented 9 years ago

Not a bug here. You must fix your sso.js upstream to filter messages not intended for it. See my email.