Issue #39 invalid

Yahoo OpenId can't be dissociated

ausiv
created an issue

On my testbed, I associated a Yahoo account with my local account. The URL is:

https://me.yahoo.com/a/LgktbqIUpMVVzN5mezXE_v6p#71326

When I pass to dissociate:

http://mysite/account/dissosciate/?openid_url=https://me.yahoo.com/a/LgktbqIUpMVVzN5mezXE_v6p#71326

the value openid_url does not include the anchor (#71326), so it cannot dissociate the openid.

I've tried reproducing this on your example application, but I get an error when I attempt to associate my Yahoo ID.

I've fixed this by appending the following to dissociate.html: {{{

!html

{% block extra_scripts %} <script type="text/javascript" src="{{ MEDIA_URL }}/openid/js/jquery-1.3.2.min.js"></script>

<script type="text/javascript"> $(document).ready(function() { document.getElementById("id_openid_url").value += location.hash; }); </script> {% endblock %} }}}

Now, this doesn't display the URL correctly on the dissociate page, but it does get the form to submit correctly. There's probably a better way to do it, but this is what I've got so far.

Comments (2)

  1. Log in to comment