inveniosoftware / invenio-oauthclient

Invenio module that provides OAuth web authorization support.
https://invenio-oauthclient.readthedocs.io
MIT License
6 stars 76 forks source link

handlers: fix linked account disconnection #268

Closed ppanero closed 2 years ago

ppanero commented 2 years ago

@slint are tests needed? I can see for example in the ORCiD tests (test_authorized_signup), there is a test for the 400 error done when disconnecting (and then it works). I could test the decorator but not sure we can (because of mocking) test something in a meaningful way for the views.

https://user-images.githubusercontent.com/6756943/148374499-ffb3de72-d8e8-402b-9c1e-2854f75a8ccc.mov

ppanero commented 2 years ago

@slint shall we merge?