cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 78 forks source link

Not possible to add user after he tried Github Oauth without being created locally #67

Closed Lineflyer closed 2 years ago

Lineflyer commented 6 years ago

While installing and configuring the plugin recently I have a problem. Not sure, whether a bug or a logical mistake on my side:

Result: I get an error message, that this mail address is already in use, although it is definitely not shown in the table of users. Thus I cannot create the user account on Dokuwiki.

Workaround:

Am I doing something wrong? It seems like trying to authenticate stores the Github users email address somewhere in the background, where it blocks creation of a user account with the same email address afterwards.

In fact I cannot prevent users from trying to login via Oauth before I created their accounts. But each time someone tries, I have problems to create him as a user afterwards.

Lineflyer commented 6 years ago

After browsing the issues here I think it is related to PR #47