Link Multiple OAuth Account (Same provider) #13006
Replies: 2 comments 1 reply
-
Beside the one that you have mentioned the accounts packages and OAuth connections are meant just for login and to be 1 to 1. |
Beta Was this translation helpful? Give feedback.
-
I use also the package you mention and I faced the issue of 1 to 1. So first, we can think about adding an object Then, about the account to multiple users, we can 1) forbid it 2) allow it.
Or we can add a new collection Finally, about implementation, we can build something similar to Before going deep to code level, I agree with you we should make it clear to how to use it with pros and cons. |
Beta Was this translation helpful? Give feedback.
-
I saw that the oauth account are stored into
services
object and have a key by provider (facebook
,google
, etc..).I was wondering why those entries are objects and not array?
If it were arrays, this will allow to link multiple oauth provider into the same user. For example, to link multiple google account to see all calendars, or multiple facebook account to make cross post easily.
Is there a catch of doing so (Beside the fact to update all oauth packages providers)?
Beta Was this translation helpful? Give feedback.
All reactions