collective / collective/pas.plugins.authomatic

Existing account cannot be associated to external identiy

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
17
PR merge metrics
No merged PRs in 30d

Description

re: #13 , it does not seem possible to associate a local account to an external identity.

Plone 5.2.0
pas.plugins.authomatic 1.0b2

1. Create a new Plone site
2. Activate pas.plugins.authomatic with a valid JSON configuration for github
3. In `@@usergroup-userprefs`, add a new local user
4. In a new incognito window, use `failsafe_login_form` to log in as the local user that was just created
5. Go to `@@authomatic-handler` and click the Github button under *Add identity*

Result:

```
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 337, in publish_module
Module ZPublisher.WSGIPublisher, line 255, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 61, in call_object
Module pas.plugins.authomatic.browser.view, line 115, in __call__
ValueError: Provider github is already connected to current user.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.