Noah
1
Hiya,
so after a bit of looking around I’ve found that there’s no easy way to remove associated accounts.
I’ve linked my Google account via the Associated accounts category under “account” in preferences, before you link anything, this is how it looks:
On my discourse site I have 2 “associated accounts”.
However when I go to my “preferences” tab there is no button to “remove them”.
Am I missing something here, or is there no way to remove associated accounts?
Thanks for any help in advance!
1 Like
cocococosti
(Constanza Abarca)
2
What version of Discourse are you running?
You should be able to remove them, this has been possible for a while: Future Social Authentication Improvements
And here’s the code that controls it: discourse/managed_authenticator.rb at eb70ea44780ad6d31db82baec4845b6eb4b8e804 · discourse/discourse · GitHub
4 Likes
Noah
3
I didn’t even own a discourse website in 2019, I surely am past this update.
cocococosti
(Constanza Abarca)
4
From which auth providers?
Is this happening with all of your users? Do you see any error in your browser’s console?
Noah
5
Discord & google.
I do get an error:
On my testing account it works completely fine.
But I still get the same error I got on my normal account.
pfaffman
(Jay Pfaffman)
6
The 429 error is a rate limiting error. It is mostly likely caused by a misconfiguration of a reverse proxy.
You can confirm this is the isssue by checking user IP addresses and seeing that they are all the same (they are all the IP of the reverse proxy).
2 Likes
Noah
7
If I’m understanding you correctly, I checked & I can confirm this doesn’t seem to be the issue.
Noah
8
With the latest discourse update now installed it seems that error has disappeared, however I can still not access my associated accounts.
david
(David Taylor)
9
What happens when you click the red button? Any logs in your browser or on the server at /logs
?
1 Like
Noah
10
Doesn’t exist on my accounts view, on my alternate view the red button does work. On my main account I don’t even get the “associate accounts” table.
david
(David Taylor)
11
Do you have two-factor authentication enabled? Associated Accounts can’t be used alongside 2FA.
1 Like
Noah
12
I do indeed have 2FA enabled, my associated accounts are still inked.
Will I have to disable 2FA to remove them?
david
(David Taylor)
13
Via the user interface, yes you would have to disable 2fa.
If you’re the admin, and comfortable on the rails console, then you could run something like:
User.find_by_username("my-username").user_associated_accounts.destroy_all
1 Like
system
(system)
Closed
15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.